diff mm7_3.cpp @ 790:1e2be0f5eb30

Merge
author Nomad
date Sun, 24 Mar 2013 23:45:50 +0200
parents 83a58d185d3c f004c7ceb7bd
children 346f7069676a
line wrap: on
line diff
--- a/mm7_3.cpp	Sun Mar 24 23:15:33 2013 +0200
+++ b/mm7_3.cpp	Sun Mar 24 23:45:50 2013 +0200
@@ -13522,29 +13522,15 @@
 }
 
 //----- (00448B67) --------------------------------------------------------
-void OnTimer(int a1)
-{
-  //int v1; // ebp@1
-  //unsigned int v2; // ebx@4
-  //unsigned int v3; // edi@4
-  //char *v4; // esi@6
-  //__int16 v5; // ax@8
-  //int v6; // ecx@10
-  //unsigned int v7; // ebp@12
-  //int v8; // eax@16
-  //int v9; // eax@19
-  //unsigned __int64 v10; // qax@20
-  //int v11; // ecx@24
-  //int v12; // [sp+Ch] [bp-10h]@5
-  unsigned int v13; // [sp+10h] [bp-Ch]@4
-  
+void OnTimer(int __unused)
+{
   if (pEventTimer->bPaused)
     return;
   
-  if (a1)
-    dword_5773C0 = 0;
+  if (__unused)
+    _5773C0_unused = 0;
   
-  v13 = (signed __int64)(pParty->uTimePlayed - _5773B8_event_timer) / 128;
+  auto v13 = (signed __int64)(pParty->uTimePlayed - _5773B8_event_timer) / 128;
   if (!v13)
     return;