If a key combo is called which uses key of default wepaon binding, flush inputs

This commit is contained in:
zicodxx 2008-05-19 11:31:15 +00:00
parent 6f5d6fd2e2
commit 0afae4e25c
2 changed files with 8 additions and 0 deletions

View file

@ -1,5 +1,9 @@
D2X-Rebirth Changelog
20080519
--------
main/gamecntl.c: If a key combo is called which uses key of default wepaon binding, flush inputs
20080518
--------
include/physfsx.h, main/config.c: set "Jukebox" as the default jukebox path, for Mac OS 9 look for d2x.ini outside the app bundle

View file

@ -1312,6 +1312,7 @@ void HandleGameKey(int key)
set_escort_special_goal(key);
else
HUD_init_message ("No Guide-Bot in Multiplayer!");
game_flush_inputs();
break;
}
@ -1335,6 +1336,7 @@ void HandleGameKey(int key)
RefuseThisPlayer=1;
HUD_init_message ("Player accepted!");
RefuseTeam=1;
game_flush_inputs();
}
break;
case KEY_ALTED + KEY_2:
@ -1343,6 +1345,7 @@ void HandleGameKey(int key)
RefuseThisPlayer=1;
HUD_init_message ("Player accepted!");
RefuseTeam=2;
game_flush_inputs();
}
break;
#endif
@ -1368,6 +1371,7 @@ void HandleGameKey(int key)
#ifdef NETWORK
case KEY_0 + KEY_ALTED:
DropFlag ();
game_flush_inputs();
break;
#endif