diff mm7_4.cpp @ 1747:cecb080929c4

Party_stru0 renamed to PartyTimeStruct, fixed its members, renamed Party::field_3C to Party::PartyTimes, started Player::SetVariable refactoring start
author Grumpy7
date Mon, 30 Sep 2013 05:48:32 +0200
parents 8251e59fd7c1
children 421c29d4ab3e
line wrap: on
line diff
--- a/mm7_4.cpp	Fri Sep 27 10:08:01 2013 +0200
+++ b/mm7_4.cpp	Mon Sep 30 05:48:32 2013 +0200
@@ -2120,7 +2120,7 @@
               i += 2;
               break;
             }
-            init_summoned_item(&v56, pParty->field_3C._s_times[v17-51]);
+            init_summoned_item(&v56, pParty->PartyTimes._s_times[v17-51]);
             sprintfex(a1, pGlobalTXT_LocalizationStrings[378], aMonthNames[v56.field_14_exprie_month], v56.field_C_expire_day + 1, v56.field_18_expire_year);
             strcat(pTmpBuf2.data(), a1);
             dst = strlen(pTmpBuf2.data());
@@ -2755,7 +2755,7 @@
       pParty->uFine = 4000000;
   }
 
-  pParty->field_3C._shop_ban_times[a1] = pParty->uTimePlayed + 368640;
+  pParty->PartyTimes._shop_ban_times[a1] = pParty->uTimePlayed + 368640;
  
 LABEL_13:
   pParty->InTheShopFlags[a1] = 1;