diff options
| author | Steven Fuller <relnev@icculus.org> | 2001-11-06 01:12:23 +0000 |
|---|---|---|
| committer | Patryk Obara <dreamer.tan@gmail.com> | 2019-08-20 02:22:36 +0200 |
| commit | 949ffcfd44807915ff2ab0bcc5f81032b5708578 (patch) | |
| tree | 9fb86ec60093b83b44c17cea4fb1a8f23c0ab1ec | |
| parent | f0647dd7c8db89aa972e7d5eadbc6bc041a14594 (diff) | |
Fixed the mistake causing new episodes to be gained for free.
| -rw-r--r-- | README | 4 | ||||
| -rw-r--r-- | src/main.c | 8 |
2 files changed, 9 insertions, 3 deletions
@@ -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/ @@ -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; |
