diff Game.cpp @ 227:bcd55744c2f4

Clicking background in MainMenu fix
author Nomad
date Sun, 17 Feb 2013 15:09:31 +0200
parents 650d96af8855
children 96bc024a5fed
line wrap: on
line diff
--- a/Game.cpp	Sun Feb 17 11:40:10 2013 +0100
+++ b/Game.cpp	Sun Feb 17 15:09:31 2013 +0200
@@ -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)