mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-14 00:54:05 +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);
|
getFloorInfo(getRoomIndex(), pos, info);
|
||||||
|
|
||||||
if (getRoom().flags.water) {
|
if (getRoom().flags.water) {
|
||||||
|
wpnHide();
|
||||||
if (stand == STAND_UNDERWATER || stand == STAND_ONWATER)
|
if (stand == STAND_UNDERWATER || stand == STAND_ONWATER)
|
||||||
return stand;
|
return stand;
|
||||||
wpnHide();
|
|
||||||
if (stand == STAND_AIR) {
|
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))
|
//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);
|
// animation.setAnim(ANIM_FALL_FORTH);
|
||||||
|
Reference in New Issue
Block a user