[Patch] allow quickload during enemy turns[message #252451]
|
Thu, 27 May 2010 23:14
|
|
bbun |
|
Messages:74
Registered:April 2004 Location: Amsterdam |
|
|
Simply add this code
// always allow quickload?
if ( (InputEvent.usEvent == KEY_DOWN )
&& ( InputEvent.usParam == 'l')
&& ( InputEvent.usKeyState & ALT_DOWN ))
{
LeaveTacticalScreen(GAME_SCREEN);
DoQuickLoad();
}
right below the comment
// FIRST DO KEYS THAT ARE USED EVERYWHERE!
in "Build/Tactical/Turn_Based_Input.cc".
It may not be the cleanest solution, but it works perfectly.
Report message to a moderator
|
Corporal
|
|
|
|
|