changeset 1098:81a51a0443e2

small fix, dropping item
author zipi
date Sun, 26 May 2013 20:34:35 +0100
parents e1ad5ccc13ae
children 94aff285558e
files mm7_1.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mm7_1.cpp	Sun May 26 23:19:49 2013 +0400
+++ b/mm7_1.cpp	Sun May 26 20:34:35 2013 +0100
@@ -895,11 +895,11 @@
   //POINT v25; // [sp+7Ch] [bp-10h]@3
   POINT a2; // [sp+84h] [bp-8h]@3
 
+  v1 = pMouse->GetCursorPos(&a2);
   if ( pRenderer->pRenderD3D )
     v0 = pGame->pVisInstance->get_picked_object_zbuf_val();
   else
   {
-    v1 = pMouse->GetCursorPos(&a2);
     v0 = pRenderer->pActiveZBuffer[v1->x + pSRZBufferLineOffsets[v1->y]];
   }