From bdb4e2cc3d129952390dafa68a63aafc964c5698 Mon Sep 17 00:00:00 2001 From: Wanne Date: Wed, 4 Apr 2012 08:52:04 +0000 Subject: [PATCH] - Bugfix: Fixed Tactical Placement hotkeys bug (by Buggler) o Using hotkeys to activate e placement buttons e.g. 'c', 'g' or 's' will do bonkers to mouse clicking & keyboard input. Only way out is to kill process. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5155 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- TileEngine/Tactical Placement GUI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TileEngine/Tactical Placement GUI.cpp b/TileEngine/Tactical Placement GUI.cpp index 5454b711..29fde93c 100644 --- a/TileEngine/Tactical Placement GUI.cpp +++ b/TileEngine/Tactical Placement GUI.cpp @@ -995,7 +995,7 @@ void TacticalPlacementHandle() gpTacticalPlacementSelectedSoldier = NULL; } - while( DequeueSpecificEvent( &InputEvent, KEY_DOWN ) ) + while (DequeueEvent(&InputEvent) == TRUE) { if( InputEvent.usEvent == KEY_DOWN ) {