mirror of
https://github.com/minetest/minetest.git
synced 2024-12-22 22:22:23 +01:00
Get rid of obsolete workaround for collision detection bugs (#15540)
This commit is contained in:
parent
fef28aced9
commit
52a6673dab
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user