[Fix] Can't change targets while toolkit is open.

This commit is contained in:
Allanis 2013-03-10 16:47:46 +00:00
parent dfb57c1775
commit a153cb9a37

View File

@ -116,7 +116,7 @@ void input_setKeybind(char* keybind, KeybindType type, int key, int reverse) {
// abs : Whether or not it's an abs value (For those pesky joysticks. // abs : Whether or not it's an abs value (For those pesky joysticks.
// ===================================================================== // =====================================================================
#define KEY(s) (strcmp(input_keybinds[keynum]->name, s)==0) #define KEY(s) (strcmp(input_keybinds[keynum]->name, s)==0)
#define INGAME() (!paused) #define INGAME() (!toolkit)
static void input_key(int keynum, double value, int abs) { static void input_key(int keynum, double value, int abs) {
// Accelerating. // Accelerating.
if(KEY("accel")) { if(KEY("accel")) {