1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-08-13 16:44:50 +02:00

fix draw weapon when going into water

This commit is contained in:
XProger
2018-06-23 01:05:09 +03:00
parent f8d27c54ef
commit 0c3cd90ff2

View File

@@ -2067,9 +2067,9 @@ struct Lara : Character {
getFloorInfo(getRoomIndex(), pos, info);
if (getRoom().flags.water) {
wpnHide();
if (stand == STAND_UNDERWATER || stand == STAND_ONWATER)
return stand;
wpnHide();
if (stand == STAND_AIR) {
//if (stand != STAND_UNDERWATER && stand != STAND_ONWATER && (state != STATE_FALL && state != STATE_REACH && state != STATE_SWAN_DIVE && state != STATE_FAST_DIVE))
// animation.setAnim(ANIM_FALL_FORTH);