mirror of
https://github.com/mangosfour/server.git
synced 2026-01-01 07:37:07 +00:00
[8446] Update ACHIEVEMENT_CRITERIA_TYPE_FALL_WITHOUT_DYING only for real alive cases.
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.
This commit is contained in:
parent
3b1b68595b
commit
eec534f1f6
4 changed files with 14 additions and 9 deletions
|
|
@ -40,10 +40,12 @@
|
|||
#include "Pet.h"
|
||||
#include "SocialMgr.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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue