1
0
зеркало из https://github.com/luanti-org/luanti.git synced 2025-11-09 11:35:21 +01:00

Get rid of obsolete workaround for collision detection bugs (#15540)

Этот коммит содержится в:
Lars Müller
2024-12-14 17:04:12 +01:00
коммит произвёл GitHub
родитель fef28aced9
Коммит 52a6673dab

Просмотреть файл

@@ -1663,11 +1663,6 @@ void GenericCAO::processMessage(const std::string &data)
bool is_end_position = readU8(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
return;