fix(NoClip): Improper cleanup of old entity
Causes unintended side effects
This commit is contained in:
parent
5467abfa91
commit
12f4527de8
@ -25,7 +25,7 @@ namespace big
|
||||
// cleanup when changing entities
|
||||
if (prev != ent)
|
||||
{
|
||||
ENTITY::FREEZE_ENTITY_POSITION(ent, false);
|
||||
ENTITY::FREEZE_ENTITY_POSITION(prev, false);
|
||||
ENTITY::SET_ENTITY_COLLISION(prev, true, true);
|
||||
|
||||
prev = ent;
|
||||
|
Reference in New Issue
Block a user