# HG changeset patch # User Grumpy7 # Date 1369790352 -7200 # Node ID 849b848ed8712f747e867be51ddac45c3bc0371f # Parent d110108dab747ab2a5adaf8006983ad44efed93f wrong IsNotAlive() condition fix diff -r d110108dab74 -r 849b848ed871 Actor.cpp --- a/Actor.cpp Tue May 28 00:49:43 2013 +0200 +++ b/Actor.cpp Wed May 29 03:19:12 2013 +0200 @@ -243,12 +243,12 @@ //----- (004089C7) -------------------------------------------------------- bool Actor::IsNotAlive() { - bool isparalyzed; // esi@1 + bool isstoned; // esi@1 //unsigned __int16 v2; // ax@3 - isparalyzed = (signed __int64)this->pActorBuffs[6].uExpireTime > 0;// paralyzed + isstoned = (signed __int64)this->pActorBuffs[5].uExpireTime > 0;// stoned //v2 = this->uAIState; - return (isparalyzed || (uAIState == Dying) || (uAIState == Dead) || (uAIState == Removed) || (uAIState == Summoned) || (uAIState == Disabled)); + return (isstoned || (uAIState == Dying) || (uAIState == Dead) || (uAIState == Removed) || (uAIState == Summoned) || (uAIState == Disabled)); } //----- (004086E9) --------------------------------------------------------