mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-28 15:57:59 +03:00
Reset IsAirborne flag properly when exiting fly cheat
This commit is contained in:
parent
06ee8fa4b8
commit
9baf5222f8
1 changed files with 1 additions and 0 deletions
|
@ -615,6 +615,7 @@ void LaraCheat(ItemInfo* item, CollisionInfo* coll)
|
||||||
|
|
||||||
ResetPlayerFlex(item);
|
ResetPlayerFlex(item);
|
||||||
InitializeLaraMeshes(item);
|
InitializeLaraMeshes(item);
|
||||||
|
item->Animation.IsAirborne = false;
|
||||||
item->HitPoints = LARA_HEALTH_MAX;
|
item->HitPoints = LARA_HEALTH_MAX;
|
||||||
player.Control.HandStatus = HandStatus::Free;
|
player.Control.HandStatus = HandStatus::Free;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue