[7651] Fixed some cases with unexpected fatigue bar show for player at transport.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
DiSlord 2009-04-12 01:00:30 +04:00 committed by VladimirMangos
parent 8a21bdbae7
commit 1bf2138948
2 changed files with 2 additions and 2 deletions

View file

@ -18912,7 +18912,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;

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "7650"
#define REVISION_NR "7651"
#endif // __REVISION_NR_H__