mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[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:
parent
8a21bdbae7
commit
1bf2138948
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "7650"
|
||||
#define REVISION_NR "7651"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue