Skip to content

Commit

Permalink
Get rid of obsolete workaround for collision detection bugs (luanti-o…
Browse files Browse the repository at this point in the history
  • Loading branch information
appgurueu authored Dec 14, 2024
1 parent fef28ac commit 52a6673
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/client/content_cao.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 52a6673

Please sign in to comment.