[Fix] Now you can't rumble afterburner when in toolkit or hyperspacing.
This commit is contained in:
parent
fed0d8c798
commit
1051a39a09
@ -152,7 +152,8 @@ static void input_key(int keynum, double value, int abs) {
|
|||||||
|
|
||||||
/* Double tap accel = afterburn! */
|
/* Double tap accel = afterburn! */
|
||||||
t = SDL_GetTicks();
|
t = SDL_GetTicks();
|
||||||
if((value == KEY_PRESS) && (t-input_accelLast <= input_afterburnSensibility))
|
if((value == KEY_PRESS) && INGAME() && NOHYP() &&
|
||||||
|
(t-input_accelLast <= input_afterburnSensibility))
|
||||||
player_afterburn();
|
player_afterburn();
|
||||||
else if((value == KEY_RELEASE) && player_isFlag(PLAYER_AFTERBURNER))
|
else if((value == KEY_RELEASE) && player_isFlag(PLAYER_AFTERBURNER))
|
||||||
player_afterburnOver();
|
player_afterburnOver();
|
||||||
|
Loading…
Reference in New Issue
Block a user