diff mm7_2.cpp @ 1031:f93d17337113

UI stuff.
author Nomad
date Tue, 21 May 2013 14:34:14 +0200
parents 7735bdb3c30f
children 3a5c8df8381d
line wrap: on
line diff
--- a/mm7_2.cpp	Tue May 21 12:52:38 2013 +0200
+++ b/mm7_2.cpp	Tue May 21 14:34:14 2013 +0200
@@ -6886,10 +6886,10 @@
           return 0;
 
         //SubMenu "Time"
-        case 40009:  pParty->uTimePlayed += Day;   return 0;
-        case 40010:  pParty->uTimePlayed += Week;   return 0;
-        case 40011:  pParty->uTimePlayed += Month;   return 0;
-        case 40012:  pParty->uTimePlayed += Year;   return 0;
+        case 40009:  pParty->uTimePlayed += Timer::Day;   return 0;
+        case 40010:  pParty->uTimePlayed += Timer::Week;   return 0;
+        case 40011:  pParty->uTimePlayed += Timer::Month;   return 0;
+        case 40012:  pParty->uTimePlayed += Timer::Year;   return 0;
 
         //SubMenu "Items"
         case 40015:
@@ -7235,7 +7235,7 @@
       }
         return DefWindowProcA(hWnd, Msg, wParam, lParam);
     }
-    if ( dword_506E68 != -1 )
+    if ( uGameMenuUI_CurentlySelectedKeyIdx != -1 )
     {
       pKeyActionMap->_459F10(wParam);
       return DefWindowProcA(hWnd, Msg, wParam, lParam);