diff Arcomage.cpp @ 949:c0d0656aa662

Awards
author Nomad
date Wed, 01 May 2013 20:04:24 +0200
parents 016e3577865c
children c45d51b3f4f4
line wrap: on
line diff
--- a/Arcomage.cpp	Wed May 01 17:31:10 2013 +0200
+++ b/Arcomage.cpp	Wed May 01 20:04:24 2013 +0200
@@ -5710,13 +5710,13 @@
     do
     {
       if ( !(unsigned __int16)_449B57_test_bit((unsigned __int8 *)v11, 1) )
-        _449B7E_toggle_bit((unsigned char *)v11, 103, 1u);
+        _449B7E_toggle_bit((unsigned char *)v11, PLAYER_GUILD_BITS__ARCOMAGE_WIN, 1);
       v11 += 6972;
     }
     while ( (signed int)v11 < (signed int)((char *)&pParty->StandartItemsInShops[36] + 2) );
-    ++pParty->field_874;
-    if ( pParty->field_874 > 1000000 )
-      pParty->field_874 = 1000000;
+    ++pParty->uNumArcomageWins;
+    if ( pParty->uNumArcomageWins > 1000000 )
+      pParty->uNumArcomageWins = 1000000;
   }
   else
   {
@@ -5724,13 +5724,13 @@
     do
     {
       if ( !(unsigned __int16)_449B57_test_bit((unsigned __int8 *)v12, 1) )
-        _449B7E_toggle_bit((unsigned char *)v12, 104, 1u);
+        _449B7E_toggle_bit((unsigned char *)v12, PLAYER_GUILD_BITS__ARCOMAGE_LOSE, 1);
       v12 += 6972;
     }
     while ( (signed int)v12 < (signed int)((char *)&pParty->StandartItemsInShops[36] + 2) );
-    ++pParty->field_878;
-    if ( pParty->field_878 > 1000000 )
-      pParty->field_878 = 1000000;
+    ++pParty->uNumArcomageLoses;
+    if ( pParty->uNumArcomageLoses > 1000000 )
+      pParty->uNumArcomageLoses = 1000000;
   }
   return 0;
 }