Turn off dragging when a in-game popup / menu is shown.

Fixes ticket:2086

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/2.3@11565 4a71c877-e1ca-e34f-864e-861f7616d084
(cherry picked from commit 686927f2a4626c56e218c92b83cf15e747f180f8)
master
Buginator 2010-09-02 02:53:13 +00:00 committed by buginator
parent 683a9e65d5
commit d38bc9d849
1 changed files with 5 additions and 0 deletions

View File

@ -462,6 +462,11 @@ void processInput(void)
BOOL mOverRadar = false;
int WheelZoomIterator;
if (InGameOpUp || isInGamePopupUp)
{
dragBox3D.status = DRAG_RELEASED; // disengage the dragging since it stops menu input
}
if(radarOnScreen && getHQExists(selectedPlayer) && CoordInRadar(mouseX(), mouseY()))
{
mOverRadar = true;