diff Player.cpp @ 1453:dfc9484ed94c

GetDayPart and Journal_Draw
author Ritor1
date Thu, 08 Aug 2013 16:34:19 +0600
parents 27b7ee003c7c
children bfe342ae0c1f
line wrap: on
line diff
--- a/Player.cpp	Tue Aug 06 09:26:17 2013 +0600
+++ b/Player.cpp	Thu Aug 08 16:34:19 2013 +0600
@@ -7092,12 +7092,12 @@
     {
       v20 = pPlayers[currPlayerId + 1];
       v20->PlaySound(SPEECH_96, 0);
-	  v21 = pAutonoteTxt[var_value].eType;// dword_72371C[2 * a3];
+	  //v21 = pAutonoteTxt[var_value].eType;// dword_72371C[2 * a3];
       bFlashAutonotesBook = 1;
-      _506568_autonote_type = v21;
+      _506568_autonote_type = pAutonoteTxt[var_value].eType;
       DrawPlayerBuffAnimBasedOnCondition(currPlayerId);
     }
-    _449B7E_toggle_bit(pParty->_autonote_bits, var_value, 1u);
+    _449B7E_toggle_bit(pParty->_autonote_bits, var_value, 1);
     PlaySoundBasedOnCondition(currPlayerId);
     return;
   }
@@ -7890,11 +7890,11 @@
       v23 = pPlayers[uPlayerIdx + 1];
       v34 = 1;
       v23->PlaySound(SPEECH_96, 0);
-	  v24 = pAutonoteTxt[val].eType;//dword_72371C[2 * val];
+	  //v24 = pAutonoteTxt[val].eType;//dword_72371C[2 * val];
       bFlashAutonotesBook = 1;
-      _506568_autonote_type = v24;
-    }
-    _449B7E_toggle_bit(pParty->_autonote_bits, val, 1u);
+      _506568_autonote_type = pAutonoteTxt[val].eType;
+    }
+    _449B7E_toggle_bit(pParty->_autonote_bits, val, 1);
     v3 = 1;
 LABEL_173:
     if ( v34 != 1 )