From 949ffcfd44807915ff2ab0bcc5f81032b5708578 Mon Sep 17 00:00:00 2001 From: Steven Fuller Date: Tue, 6 Nov 2001 01:12:23 +0000 Subject: Fixed the mistake causing new episodes to be gained for free. --- src/main.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src') 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; -- cgit v1.3