diff Game.cpp @ 230:b9f4ff2f6c45

Merge
author Gloval
date Sun, 17 Feb 2013 17:18:45 +0400
parents bcd55744c2f4
children 96bc024a5fed
line wrap: on
line diff
--- a/Game.cpp	Sun Feb 17 17:07:52 2013 +0400
+++ b/Game.cpp	Sun Feb 17 17:18:45 2013 +0400
@@ -1024,7 +1024,7 @@
 //----- (0044EA5E) --------------------------------------------------------
 bool Game::PickMouse(float fPickDepth, unsigned int uMouseX, unsigned int uMouseY, bool bOutline, Vis_SelectionFilter *sprite_filter, Vis_SelectionFilter *face_filter)
 {
-  if (pCurrentScreen || !pRenderer->pRenderD3D)
+  if (pCurrentScreen != SCREEN_GAME|| !pRenderer->pRenderD3D)
     return false;
 
   if (!pVisInstance)