mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 17:15:21 +02:00
Get rid of obsolete workaround for collision detection bugs (#15540)
This commit is contained in:
@@ -1663,11 +1663,6 @@ void GenericCAO::processMessage(const std::string &data)
|
|||||||
bool is_end_position = readU8(is);
|
bool is_end_position = readU8(is);
|
||||||
float update_interval = readF32(is);
|
float update_interval = readF32(is);
|
||||||
|
|
||||||
// Place us a bit higher if we're physical, to not sink into
|
|
||||||
// the ground due to sucky collision detection...
|
|
||||||
if(m_prop.physical)
|
|
||||||
m_position += v3f(0,0.002,0);
|
|
||||||
|
|
||||||
if(getParent() != NULL) // Just in case
|
if(getParent() != NULL) // Just in case
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user