diff mm7_2.cpp @ 875:b7246c149957

Слияние
author Ritor1
date Mon, 01 Apr 2013 17:37:42 +0600
parents 231523a39203 2db21a810d48
children b6573b99ca40
line wrap: on
line diff
--- a/mm7_2.cpp	Mon Apr 01 17:37:32 2013 +0600
+++ b/mm7_2.cpp	Mon Apr 01 17:37:42 2013 +0600
@@ -7133,7 +7133,7 @@
           {
             if (pAsyncMouse)
               goto _def_wnd_proc;
-            v33 = GetPickDepth();
+            v33 = pGame->pIndoorCameraD3D->GetPickDepth();
             pGame->PickMouse(v33, (unsigned __int16)lParam, lParam >> 16, v31, &vis_sprite_filter_2, &vis_door_filter);
           }
           if (!pAsyncMouse)
@@ -7152,7 +7152,7 @@
         {
           if ( pGame && !pAsyncMouse )
           {
-            v34 = GetPickDepth();
+            v34 = pGame->pIndoorCameraD3D->GetPickDepth();
             pGame->PickMouse(v34, (unsigned __int16)lParam, lParam >> 16, 1, &vis_sprite_filter_3, &vis_face_filter);
             return DefWindowProcA(hWnd, Msg, wParam, lParam);
           }