diff Player.cpp @ 2402:8cee51ce4382

included directx 11
author Ritor1
date Mon, 14 Jul 2014 10:03:44 +0600
parents bddcaf5d5db2
children f4af3b203f65
line wrap: on
line diff
--- a/Player.cpp	Thu Jul 10 01:48:39 2014 +0200
+++ b/Player.cpp	Mon Jul 14 10:03:44 2014 +0600
@@ -4316,7 +4316,7 @@
 
     if ( pGUIWindow_CurrentMenu && pGUIWindow_CurrentMenu->eWindowType != WINDOW_null)
     {
-      pMessageQueue_50CBD0->AddMessage(UIMSG_Escape, 0, 0);
+      pMessageQueue_50CBD0->AddGUIMessage(UIMSG_Escape, 0, 0);
     }
     if ( v73 )
     {
@@ -4612,7 +4612,7 @@
 //           pMouse->RemoveHoldingItem();
 //           return;
 //         }
-        pMessageQueue_50CBD0->AddMessage(UIMSG_Escape, 0, 0);
+        pMessageQueue_50CBD0->AddGUIMessage(UIMSG_Escape, 0, 0);
       }
       if ( v73 )
       {
@@ -4665,11 +4665,11 @@
     else
     {
       pMouse->RemoveHoldingItem();
-      pMessageQueue_50C9E8->AddMessage(UIMSG_SpellScrollUse, scroll_id, player_num - 1);
+      pMessageQueue_50C9E8->AddGUIMessage(UIMSG_SpellScrollUse, scroll_id, player_num - 1);
       if ( pCurrentScreen && pGUIWindow_CurrentMenu
         && (pGUIWindow_CurrentMenu->eWindowType != WINDOW_null))
       {
-        pMessageQueue_50CBD0->AddMessage(UIMSG_Escape, 0, 0);
+        pMessageQueue_50CBD0->AddGUIMessage(UIMSG_Escape, 0, 0);
       }
     }
     return;
@@ -4728,7 +4728,7 @@
           pMouse->RemoveHoldingItem();
           return;
         }
-        pMessageQueue_50CBD0->AddMessage(UIMSG_Escape, 0, 0);
+        pMessageQueue_50CBD0->AddGUIMessage(UIMSG_Escape, 0, 0);
       }
 //       if ( v73 )                                                v73 is always 0 at this point
 //       {