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

This commit is contained in:
Steven Fuller 2001-11-06 01:12:23 +00:00 committed by Patryk Obara
parent f0647dd7c8
commit 949ffcfd44
2 changed files with 9 additions and 3 deletions

4
README
View file

@ -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 file

@ -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;