diff UI/UIPopup.cpp @ 1575:43d3536a20f7

OnInventoryItemRightClick
author Nomad
date Mon, 09 Sep 2013 20:09:01 +0200
parents 9f8b3e904e14
children 96a1f5e0b6cd
line wrap: on
line diff
--- a/UI/UIPopup.cpp	Mon Sep 09 17:17:53 2013 +0200
+++ b/UI/UIPopup.cpp	Mon Sep 09 20:09:01 2013 +0200
@@ -1929,7 +1929,7 @@
             {
         case SCREEN_CASTING:
             {
-            identify_item();
+            OnInventoryItemRightClick();
             break;
             }
 
@@ -2097,7 +2097,7 @@
             {
             if ( (signed int)pX > 467 && pCurrentScreen != SCREEN_E )
                 {
-                identify_item();
+                OnInventoryItemRightClick();
                 }
             else if ( (signed int)pY >= 345 )
                 break;
@@ -2112,7 +2112,7 @@
             else
               {
                 if ( pWindowList_at_506F50_minus1_indexing_buttons____and_an_int_[0] == 103 )//2DEvent - CharacerScreenInventory
-                  identify_item();
+                  OnInventoryItemRightClick();
               }
             break;
             }