diff UI/UIShops.cpp @ 1729:f44b6e02e81c

pop-up window in character(paperdill) window, alchemy
author Ritor1
date Wed, 25 Sep 2013 17:29:14 +0600
parents 96d567a7d15f
children 1776d4f033a7 cecb080929c4
line wrap: on
line diff
--- a/UI/UIShops.cpp	Wed Sep 25 12:54:34 2013 +0600
+++ b/UI/UIShops.cpp	Wed Sep 25 17:29:14 2013 +0600
@@ -1352,8 +1352,8 @@
           dialog_window.DrawCurrentTime( pParty->field_3C.Shops_next_generation_time[ (unsigned int)window_SpeakInHouse->ptr_1C] - pParty->uTimePlayed);
           return;
         }
-        v66 = pMouse->GetCursorPos(&v98);
-        pNumActiveItem = v66->x + pSRZBufferLineOffsets[pMouse->GetCursorPos(&v96)->y];
+        pMouse->GetCursorPos(&v98);
+        pNumActiveItem = v98.x + pSRZBufferLineOffsets[v98.y];
         if ( pRenderer->pActiveZBuffer[pNumActiveItem] & 0xFFFF )
         {
           v67 = (pRenderer->pActiveZBuffer[pNumActiveItem] & 0xFFFF) - 1;