diff Arcomage.cpp @ 26:93bf1d5f6a6d

Game loading.
author Nomad
date Tue, 16 Oct 2012 00:05:53 +0200
parents 2ca04ccb612a
children 90a9c828c2a6
line wrap: on
line diff
--- a/Arcomage.cpp	Mon Oct 15 18:45:11 2012 +0200
+++ b/Arcomage.cpp	Tue Oct 16 00:05:53 2012 +0200
@@ -5667,12 +5667,12 @@
     }
     while ( v10 <= 120 );
     if ( v10 == 121 )
-      _449B7E_toggle_bit((char *)pParty->_award_bits, 238, 1u);
+      _449B7E_toggle_bit(pParty->_award_bits, 238, 1u);
     v11 = pParty->pPlayers[0].field_152;
     do
     {
       if ( !(unsigned __int16)_449B57_test_bit((unsigned __int8 *)v11, 1) )
-        _449B7E_toggle_bit(v11, 103, 1u);
+        _449B7E_toggle_bit((unsigned char *)v11, 103, 1u);
       v11 += 6972;
     }
     while ( (signed int)v11 < (signed int)((char *)&pParty->field_777C[36] + 2) );
@@ -5686,7 +5686,7 @@
     do
     {
       if ( !(unsigned __int16)_449B57_test_bit((unsigned __int8 *)v12, 1) )
-        _449B7E_toggle_bit(v12, 104, 1u);
+        _449B7E_toggle_bit((unsigned char *)v12, 104, 1u);
       v12 += 6972;
     }
     while ( (signed int)v12 < (signed int)((char *)&pParty->field_777C[36] + 2) );