From 0244ff470ec23eca691e49fef7ebfb0d6baa0271 Mon Sep 17 00:00:00 2001 From: Allanis <allanis@saracraft.net> Date: Wed, 9 Apr 2014 21:05:21 +0100 Subject: [PATCH] [Fix] You shouldn't be able to target ships while the game is paused. :/ --- src/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input.c b/src/input.c index 9cad2a2..6f752f2 100644 --- a/src/input.c +++ b/src/input.c @@ -298,7 +298,7 @@ const char* input_getKeybindDescription(char* keybind) { * @param abs Whether or not it's an absolute value (for the joystick). */ #define KEY(s) (strcmp(input_keybinds[keynum]->name, s)==0) /**< Shortcut for ease. */ -#define INGAME() (!toolkit) /**< Make sure player is in game. */ +#define INGAME() (!toolkit && !paused) /**< Make sure player is in game. */ #define NOHYP() \ (player && !pilot_isFlag(player, PILOT_HYP_PREP) && \ !pilot_isFlag(player, PILOT_HYP_BEGIN) && \