diff options
author | QAston <none@none> | 2009-02-05 13:38:48 +0100 |
---|---|---|
committer | QAston <none@none> | 2009-02-05 13:38:48 +0100 |
commit | 066b83b52339f4b3fda585659b4feca4dd52b483 (patch) | |
tree | 2ad98e9859640d4d00fa9181c7283c4884f01457 /src/game/Player.cpp | |
parent | 261425b0cc1dedc46c627f0821953301caec27a6 (diff) |
*Handle SPELL_AURA_ABILITY_IGNORE_AURASTATE and SPELL_AURA_ALLOW_ONLY_ABILITY.
*Fix build on Windows.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r-- | src/game/Player.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index c3d3ce1b7d4..ee4cf8cc165 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -2491,7 +2491,7 @@ void Player::InitStatsForLevel(bool reapplyMods) SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_PVP_ATTACKABLE ); // must be set // cleanup player flags (will be re-applied if need at aura load), to avoid have ghost flag without ghost aura, for example. - RemoveFlag(PLAYER_FLAGS, PLAYER_FLAGS_AFK | PLAYER_FLAGS_DND | PLAYER_FLAGS_GM | PLAYER_FLAGS_GHOST); + RemoveFlag(PLAYER_FLAGS, PLAYER_FLAGS_AFK | PLAYER_FLAGS_DND | PLAYER_FLAGS_GM | PLAYER_FLAGS_GHOST | PLAYER_ALLOW_ONLY_ABILITY); RemoveStandFlags(UNIT_STAND_FLAGS_ALL); // one form stealth modified bytes RemoveByteFlag(UNIT_FIELD_BYTES_2, 1, UNIT_BYTE2_FLAG_FFA_PVP | UNIT_BYTE2_FLAG_SANCTUARY); |