diff options
author | megamage <none@none> | 2009-09-02 16:24:41 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-09-02 16:24:41 -0500 |
commit | ca514fde8086fe9bfb946a2ab3bb804423809639 (patch) | |
tree | 4365c112d3d3f4455c3de930841efcee5f901e91 /src/game/MiscHandler.cpp | |
parent | 790c5348a33ad28422e9356e598bf7084b0159b6 (diff) |
[8446] Update ACHIEVEMENT_CRITERIA_TYPE_FALL_WITHOUT_DYING only for real alive cases. Author: Opterman
This fix problem with temporary "alive" cases for prist talent for example.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
* Use final damage for check
* Also fix CMSG_REPOP_REQUEST read warning spam.
--HG--
branch : trunk
Diffstat (limited to 'src/game/MiscHandler.cpp')
-rw-r--r-- | src/game/MiscHandler.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/MiscHandler.cpp b/src/game/MiscHandler.cpp index 0268aa4ddf6..1d5fb4951d5 100644 --- a/src/game/MiscHandler.cpp +++ b/src/game/MiscHandler.cpp @@ -48,10 +48,12 @@ #include "Vehicle.h" #include "CreatureAI.h" -void WorldSession::HandleRepopRequestOpcode( WorldPacket & /*recv_data*/ ) +void WorldSession::HandleRepopRequestOpcode( WorldPacket & recv_data ) { sLog.outDebug( "WORLD: Recvd CMSG_REPOP_REQUEST Message" ); + recv_data.read_skip<uint8>(); + if(GetPlayer()->isAlive()||GetPlayer()->HasFlag(PLAYER_FLAGS, PLAYER_FLAGS_GHOST)) return; |