fixed exit model scheme yet again
authorBradley Bell <btb@icculus.org>
Thu, 3 Apr 2003 08:38:33 +0000 (08:38 +0000)
committerBradley Bell <btb@icculus.org>
Thu, 3 Apr 2003 08:38:33 +0000 (08:38 +0000)
ChangeLog
main/endlevel.c

index 5e49a4f..c4fefe6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2003-04-03  Bradley Bell  <btb@icculus.org>
+
+       * main/endlevel.c: fixed exit model scheme yet again
+
 2003-04-02  Bradley Bell  <btb@icculus.org>
 
        * misc/error.c: call Int3 on Assert
index eacecf5..a1da2cf 100644 (file)
@@ -17,7 +17,7 @@ COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION.  ALL RIGHTS RESERVED.
 #endif
 
 #ifdef RCS
-static char rcsid[] = "$Id: endlevel.c,v 1.13 2003-03-29 22:34:59 btb Exp $";
+static char rcsid[] = "$Id: endlevel.c,v 1.14 2003-04-03 08:38:33 btb Exp $";
 #endif
 
 //#define SLEW_ON 1
@@ -306,7 +306,9 @@ void start_endlevel_sequence()
        int inited = 0;
 
        if (!inited) {
-               if (Piggy_hamfile_version >= 3)
+               if (Piggy_hamfile_version >= 3 &&
+                       (Mission_list[Current_mission_num].descent_version == 1 ||
+                        Current_mission_num == Builtin_mission_num))
                        inited = load_exit_models();
                else
                        inited = 1;