Fixed bug where going into any of the F6 screens with the injectors key pressed would result in injectors continuing to run even after releasing the key.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1870 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
parent
a4de3f8cce
commit
4ed8bcf446
@ -1333,6 +1333,13 @@ static NSTimeInterval time_last_frame;
|
|||||||
|
|
||||||
show_info_flag = ([gameView isDown:key_map_info] && ![UNIVERSE strict]);
|
show_info_flag = ([gameView isDown:key_map_info] && ![UNIVERSE strict]);
|
||||||
|
|
||||||
|
// If we have entered this screen with the injectors key pressed, make sure
|
||||||
|
// that injectors switch off when we release it - Nikos.
|
||||||
|
if (afterburner_engaged && ![gameView isDown:key_inject_fuel])
|
||||||
|
{
|
||||||
|
afterburner_engaged = NO;
|
||||||
|
}
|
||||||
|
|
||||||
if (status != STATUS_WITCHSPACE_COUNTDOWN)
|
if (status != STATUS_WITCHSPACE_COUNTDOWN)
|
||||||
{
|
{
|
||||||
if ([gameView isDown:gvMouseLeftButton])
|
if ([gameView isDown:gvMouseLeftButton])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user