Permalink
Browse files

Fixed the mistake causing new episodes to be gained for free.

  • Loading branch information...
1 parent 8f64e22 commit 9cb9f3df1229181c74241673ea31ac70b4595ab3 Steven Fuller committed Nov 6, 2001
Showing with 9 additions and 3 deletions.
  1. +4 −0 README
  2. +5 −3 src/main.c
View
4 README
@@ -49,6 +49,10 @@ Create the MPConfig and User_Profiles directories if they do not exist.
If you have the regular edition, add -DREGULAR_EDITION to CFLAGS.
+If you get "Aborted" after starting a new game the second time or so,
+try recompiling with gcc-3.0.2. It seems to have fixed it for me, but I'll
+try to find a workaround that works with gcc-2.95.
+
relnev:~/avp/AvP Demo 3 - Alien$ ls
aenglish.txt alienavp_huds/ alienfastfile/ avp_rifs/ MPConfig/
View
8 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;

0 comments on commit 9cb9f3d

Please sign in to comment.