fix(NoClip): Enforce no collision & no physics

This commit is contained in:
Yimura 2021-01-15 01:24:05 +01:00
parent 3beb21b48b
commit e389c3c21c
No known key found for this signature in database
GPG Key ID: 3D8FF4397E768682

View File

@ -22,8 +22,7 @@ namespace big
{
functions::take_control_of_entity(ent);
if (bNoclip != bLastNoClip)
ENTITY::SET_ENTITY_COLLISION(ent, false, false);
ENTITY::SET_ENTITY_COLLISION(ent, false, false);
for (int control : controls)
PAD::DISABLE_CONTROL_ACTION(0, control, true);