summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index 3e75810..12cab30 100644
--- a/src/main.c
+++ b/src/main.c
@@ -676,8 +676,7 @@ int InitSDL()
int main(int argc, char *argv[])
{
- int menusActive = 0;
- int thisLevelHasBeenCompleted = 0;
+
InitSDL();
@@ -781,7 +780,10 @@ while(AvP_MainMenus())
SetBriefingTextToBlank();
#endif
{
-
+ int menusActive = 0;
+ int thisLevelHasBeenCompleted = 0;
+
+ /* turn off any special effects */
d3d_light_ctrl.ctrl = LCCM_NORMAL;
d3d_overlay_ctrl.ctrl = OCCM_NORMAL;