diff Player.cpp @ 1072:48168499f52e

pointer cleaning
author zipi
date Sat, 25 May 2013 11:24:10 +0100
parents a7e63532b9a8
children 9456f2ed5ff9
line wrap: on
line diff
--- a/Player.cpp	Fri May 24 20:57:11 2013 +0100
+++ b/Player.cpp	Sat May 25 11:24:10 2013 +0100
@@ -7853,7 +7853,7 @@
     v4 = pValue;
     return v4 >= pValue;
   }
-  return *((int *)this + 2 * VarNum - 210);
+  return &LODWORD(this->pConditions[VarNum]);// *((int *)this + 2 * VarNum - 210);
 }