diff Party.cpp @ 1839:f4f63f565a72

adding some member value zeroing to Party::Reset
author Grumpy7
date Fri, 11 Oct 2013 09:20:52 +0200
parents e4e27261d84e
children 785be3f53d9b
line wrap: on
line diff
--- a/Party.cpp	Fri Oct 11 09:19:40 2013 +0200
+++ b/Party.cpp	Fri Oct 11 09:20:52 2013 +0200
@@ -96,6 +96,17 @@
     field_708 = 15;
     field_0 = 25;
 
+    uNumPrisonTerms = 0;
+    uNumBountiesCollected = 0;
+    memset(monster_for_hunting_killed, 5, sizeof(__int16));
+    memset(monster_id_for_hunting, 5, sizeof(__int16));
+    memset(_quest_bits, 64, sizeof(__int8));
+    memset(pArcomageWins, 16, sizeof(__int8));
+    uNumArenaPageWins = 0;
+    uNumArenaSquireWins = 0;
+    uNumArenaKnightWins = 0;
+    uNumArenaLordWins = 0;
+
 }
 
 //inlined