diff mm7_2.cpp @ 100:81e93310f73c

rest screen, enemy status color fixed
author zipi
date Thu, 07 Feb 2013 22:23:10 +0000
parents d61f6bc04bf2
children 8a10c9780e17
line wrap: on
line diff
--- a/mm7_2.cpp	Thu Feb 07 21:02:19 2013 +0000
+++ b/mm7_2.cpp	Thu Feb 07 22:23:10 2013 +0000
@@ -10096,10 +10096,10 @@
   int v7; // esi@9
   signed int v8; // [sp+4h] [bp-Ch]@3
   signed int v9; // [sp+8h] [bp-8h]@4
-  FactionTable *v10; // [sp+Ch] [bp-4h]@1
+  char *v10; // [sp+Ch] [bp-4h]@1
 
   v1 = 0;
-  v10 = this;
+  v10 = (char *)relations;
   if ( pHostileTXT_Raw )
     pAllocator->FreeChunk(pHostileTXT_Raw);
   pHostileTXT_Raw = 0;
@@ -10111,7 +10111,7 @@
     v2 = strtok(v1, "\r") + 1;
     v3 = 0;
     v9 = (signed int)v1;
-    v4 = (int)((char *)&v10[-7] + v8 - 5);
+    v4 = (int)&v10[v8-89];
     do
     {
       v5 = *v2;