Mercurial > mm7
diff Player.cpp @ 1071:a7e63532b9a8
pointer cleaning
author | zipi |
---|---|
date | Fri, 24 May 2013 20:57:11 +0100 |
parents | e32e2287d491 |
children | 48168499f52e |
line wrap: on
line diff
--- a/Player.cpp Fri May 24 20:33:37 2013 +0100 +++ b/Player.cpp Fri May 24 20:57:11 2013 +0100 @@ -9536,8 +9536,9 @@ case VAR_Dead: case VAR_Stoned: case VAR_Eradicated: - *((int *)this + 2 * VarNum - 210) = 0; - *((int *)this + 2 * result - 209) = 0; + //*((int *)this + 2 * VarNum - 210) = 0; + //*((int *)this + 2 * result - 209) = 0; + this->pConditions[VarNum] = 0; pGame->pStru6Instance->SetPlayerBuffAnim(0x98u, v4); v8 = 8 * v4 + 400; LOBYTE(v8) = PID(OBJECT_Player,v4 - 112);