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
parent
683a9e65d5
commit
d38bc9d849
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue