mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
Little Alien
- Game settings changed to read new Ja2_Options.INI format - Added control to skip strategic events (set ENABLE_EMERGENCY_BUTTON_NUMLOCK_TO_SKIP_STRATEGIC_EVENTS to TRUE to enable, press and hold NumLock in strategy screen to skip strategic events) git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@77 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -85,6 +85,12 @@ BOOLEAN ExecuteStrategicEvent( STRATEGICEVENT *pEvent )
|
||||
|
||||
DebugMsg (TOPIC_JA2,DBG_LEVEL_3,"ExecuteStrategicEvent");
|
||||
|
||||
if( gGameExternalOptions.gfEnableEmergencyButton_SkipStrategicEvents && _KeyDown( NUM_LOCK ) )
|
||||
{
|
||||
ScreenMsg( FONT_MCOLOR_LTYELLOW, MSG_INTERFACE, L"Strategic event skipped!" );
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
BOOLEAN fOrigPreventFlag;
|
||||
|
||||
fOrigPreventFlag = gfPreventDeletionOfAnyEvent;
|
||||
|
||||
Reference in New Issue
Block a user