prevent fallingblocks from being created in the first place?
Opened this issue · 0 comments
current method only prevents fallingblocks from being rendered.
how about we dont create fallingblocks to begin with?
this will prevent fallingblocks from being created and updated completely which will save a bit of computing and might boost performance a bit.
BlocksFell() creates the falling blocks entities
openspadesplus/Sources/Client/Client_Update.cpp
Lines 1106 to 1125 in 1791181
then check for p_fallingblocks and serverlimits for permission to call AddLocalEntity (creates the fallingblocks entity)
openspadesplus/Sources/Client/Client_Update.cpp
Line 1111 in 1791181
if we still want the tear sound to play then move these lines up before AddLocalEntity
openspadesplus/Sources/Client/Client_Update.cpp
Lines 1113 to 1124 in 1791181