comparison Actor.cpp @ 305:cc8e4dc397ec

MonsterPopup_Draw crash fix
author Nomad
date Tue, 19 Feb 2013 21:50:33 +0200
parents 3dcc9d945eeb
children 6d584c95dcf8
comparison
equal deleted inserted replaced
304:f16ac5e65438 305:cc8e4dc397ec
3214 v11 = uActorID; 3214 v11 = uActorID;
3215 v2 = pSpriteFrameTable->pSpriteSFrames; 3215 v2 = pSpriteFrameTable->pSpriteSFrames;
3216 v3 = 60 * v1->pSpriteIDs[5]; 3216 v3 = 60 * v1->pSpriteIDs[5];
3217 v1->uCurrentActionTime = 0; 3217 v1->uCurrentActionTime = 0;
3218 v1->uAIState = Dying; 3218 v1->uAIState = Dying;
3219 v1->uCurrentActionAnimation = 5; 3219 v1->uCurrentActionAnimation = ANIM_Dying;
3220 LOWORD(v3) = *(__int16 *)((char *)&v2->uAnimLength + v3); 3220 LOWORD(v3) = *(__int16 *)((char *)&v2->uAnimLength + v3);
3221 v1->sCurrentHP = 0; 3221 v1->sCurrentHP = 0;
3222 v1->uCurrentActionLength = 8 * v3; 3222 v1->uCurrentActionLength = 8 * v3;
3223 v1->pActorBuffs[6].Reset(); 3223 v1->pActorBuffs[6].Reset();
3224 v1->pActorBuffs[5].Reset(); 3224 v1->pActorBuffs[5].Reset();
4166 this->vGuardingPosition.x = 0; 4166 this->vGuardingPosition.x = 0;
4167 this->uTetherDistance = 256; 4167 this->uTetherDistance = 256;
4168 this->uActorRadius = 32; 4168 this->uActorRadius = 32;
4169 this->uActorHeight = 128; 4169 this->uActorHeight = 128;
4170 this->uAIState = Standing; 4170 this->uAIState = Standing;
4171 this->uCurrentActionAnimation = 0; 4171 this->uCurrentActionAnimation = ANIM_Standing;
4172 this->uMovementSpeed = 200; 4172 this->uMovementSpeed = 200;
4173 this->uCarriedItemID = 0; 4173 this->uCarriedItemID = 0;
4174 this->uGroup = 0; 4174 this->uGroup = 0;
4175 this->uAlly = 0; 4175 this->uAlly = 0;
4176 this->uSummonerID = 0; 4176 this->uSummonerID = 0;