diff mm7_2.cpp @ 871:710cf848ad24

Particle engine made working.
author Nomad
date Mon, 01 Apr 2013 13:39:19 +0200
parents d061180f2b42
children 2db21a810d48
line wrap: on
line diff
--- a/mm7_2.cpp	Thu Mar 28 00:37:58 2013 +0400
+++ b/mm7_2.cpp	Mon Apr 01 13:39:19 2013 +0200
@@ -7148,7 +7148,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)
@@ -7167,7 +7167,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);
           }