mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-13 08:34:32 +02:00
fix draw weapon when going into water
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user