mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-17 23:07:26 +08:00
fix(NoClip): Improper cleanup of old entity
Causes unintended side effects
This commit is contained in:
parent
a96a4766d5
commit
f1332fbc06
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user