diff mm7_2.cpp @ 516:d2a55c0a8dda

m
author Gloval
date Fri, 01 Mar 2013 20:28:01 +0400
parents 0e20e886365d
children 8f70e52646eb
line wrap: on
line diff
--- a/mm7_2.cpp	Fri Mar 01 02:11:57 2013 +0400
+++ b/mm7_2.cpp	Fri Mar 01 20:28:01 2013 +0400
@@ -3730,7 +3730,7 @@
   int v37; // ecx@227
   int v38; // esi@230
   int v39; // edx@235
-  void *v40; // edi@243
+  int v40; // edi@243
   unsigned __int64 v41; // qax@243
   void *v42; // eax@244
   signed int v43; // edi@244
@@ -4188,14 +4188,14 @@
     GenerateStandartShopItems();
     GenerateSpecialShopItems();
     v8 = window_SpeakInHouse;
-    v40 = window_SpeakInHouse->ptr_1C;
+    v40 = window_SpeakInHouse->par1C;
     //v3 = dword_F8B198;
     v41 = pParty->uTimePlayed
         //+ (signed __int64)((double)(11059200 * (signed int)p2DEvents_minus1[26 * (unsigned int)ptr_507BC0->ptr_1C])
         + (signed __int64)((double)(11059200 * (signed int)p2DEvents[(unsigned int)window_SpeakInHouse->ptr_1C - 1].field_1C)
                          * 0.033333335);
-    pParty->field_3C.field_50[2 * (int)v40] = v41;
-    pParty->field_3C.field_50[2 * (int)v40 + 1] = HIDWORD(v41);
+    pParty->field_3C.field_50[v40] = v41;
+   
   }
   v42 = v8->ptr_1C;
   v43 = 0;