How to disable shift-q (insta-quit)?

News and discussion of the PC port of Oolite.

Moderators: another_commander, winston

Post Reply
Astrobe
---- E L I T E ----
---- E L I T E ----
Posts: 609
Joined: Sun Jul 21, 2013 12:26 pm

How to disable shift-q (insta-quit)?

Post by Astrobe »

I hit it sometimes by accident in the middle of a fight and that's very, very, very, very, very ,very, very, very, very frustrating every time.
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6552
Joined: Wed Feb 28, 2007 7:54 am

Re: How to disable shift-q (insta-quit)?

Post by another_commander »

If there are no objections by any Windows or Linux users, I am very tempted to disable Shift+Q and leave only Shift+Esc as instant quit.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16059
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: How to disable shift-q (insta-quit)?

Post by Cody »

No objections here, Admiral.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6552
Joined: Wed Feb 28, 2007 7:54 am

Re: How to disable shift-q (insta-quit)?

Post by another_commander »

Having looked at the code a bit, it looks like Shift-Q is a Windows-only thing. This looks like an inconsistency that needs to be taken care of. I don't see why the Windows port needs this extra key combo (which is also hard-coded by the way). Will remove it later today.
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6552
Joined: Wed Feb 28, 2007 7:54 am

Re: How to disable shift-q (insta-quit)?

Post by another_commander »

... and it's been removed.
Astrobe
---- E L I T E ----
---- E L I T E ----
Posts: 609
Joined: Sun Jul 21, 2013 12:26 pm

Re: How to disable shift-q (insta-quit)?

Post by Astrobe »

A lot of thanks!
Post Reply