Mercurial > mm7
comparison Player.cpp @ 1071:a7e63532b9a8
pointer cleaning
author | zipi |
---|---|
date | Fri, 24 May 2013 20:57:11 +0100 |
parents | e32e2287d491 |
children | 48168499f52e |
comparison
equal
deleted
inserted
replaced
1070:944e8d715a3e | 1071:a7e63532b9a8 |
---|---|
9534 case VAR_Paralyzed: | 9534 case VAR_Paralyzed: |
9535 case VAR_Unconsious: | 9535 case VAR_Unconsious: |
9536 case VAR_Dead: | 9536 case VAR_Dead: |
9537 case VAR_Stoned: | 9537 case VAR_Stoned: |
9538 case VAR_Eradicated: | 9538 case VAR_Eradicated: |
9539 *((int *)this + 2 * VarNum - 210) = 0; | 9539 //*((int *)this + 2 * VarNum - 210) = 0; |
9540 *((int *)this + 2 * result - 209) = 0; | 9540 //*((int *)this + 2 * result - 209) = 0; |
9541 this->pConditions[VarNum] = 0; | |
9541 pGame->pStru6Instance->SetPlayerBuffAnim(0x98u, v4); | 9542 pGame->pStru6Instance->SetPlayerBuffAnim(0x98u, v4); |
9542 v8 = 8 * v4 + 400; | 9543 v8 = 8 * v4 + 400; |
9543 LOBYTE(v8) = PID(OBJECT_Player,v4 - 112); | 9544 LOBYTE(v8) = PID(OBJECT_Player,v4 - 112); |
9544 pAudioPlayer->PlaySound(SOUND_20001, v8, 0, -1, 0, 0, 0, 0); | 9545 pAudioPlayer->PlaySound(SOUND_20001, v8, 0, -1, 0, 0, 0, 0); |
9545 return result; | 9546 return result; |