diff options
| author | megamage <none@none> | 2009-02-05 14:25:16 -0600 |
|---|---|---|
| committer | megamage <none@none> | 2009-02-05 14:25:16 -0600 |
| commit | c1c210f6d91fd4214bb26362fd14135312a7ffad (patch) | |
| tree | 37487ec2cc79122d4a8cb59099b916fb4f84ca6d /src/game/Player.cpp | |
| parent | cdcf465360e19b94d62917f3622837c517e7a4ca (diff) | |
| parent | 7e70df2e7d08d4d2672efe07dedfc12ae5408b89 (diff) | |
*Merge.
--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 cf4e247c851..57ab42128da 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); |
