aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormegamage <none@none>2009-04-11 23:11:06 -0500
committermegamage <none@none>2009-04-11 23:11:06 -0500
commit88b4ecdb039fcbb67916fe908638ac02a32143f1 (patch)
tree4b61a44ac6aba4a68f253044a8dce4b667c57bab
parentf869e68296d4f49e8c388f7436990d3c4f162be0 (diff)
[7651] Fixed some cases with unexpected fatigue bar show for player at transport. Author: DiSlord
--HG-- branch : trunk
-rw-r--r--src/game/Player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index 477a54b86d2..c2e33a22e9f 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -19476,7 +19476,7 @@ void Player::UpdateUnderwaterState( Map* m, float x, float y, float z )
}
// Allow travel in dark water on taxi or transport
- if (liquid_status.type & MAP_LIQUID_TYPE_DARK_WATER && !isInFlight() && !(GetUnitMovementFlags()&MOVEMENTFLAG_ONTRANSPORT))
+ if ((liquid_status.type & MAP_LIQUID_TYPE_DARK_WATER) && !isInFlight() && !GetTransport())
m_MirrorTimerFlags |= UNDERWARER_INDARKWATER;
else
m_MirrorTimerFlags &= ~UNDERWARER_INDARKWATER;