[Fix] You shouldn't be able to target ships while the game is paused. :/
This commit is contained in:
parent
233b8b96f0
commit
0244ff470e
@ -298,7 +298,7 @@ const char* input_getKeybindDescription(char* keybind) {
|
|||||||
* @param abs Whether or not it's an absolute value (for the joystick).
|
* @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 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() \
|
#define NOHYP() \
|
||||||
(player && !pilot_isFlag(player, PILOT_HYP_PREP) && \
|
(player && !pilot_isFlag(player, PILOT_HYP_PREP) && \
|
||||||
!pilot_isFlag(player, PILOT_HYP_BEGIN) && \
|
!pilot_isFlag(player, PILOT_HYP_BEGIN) && \
|
||||||
|
Loading…
Reference in New Issue
Block a user