with the editor built, don't make .txm files when a level is loaded (only make them...
authorChris Taylor <chris@icculus.org>
Sun, 26 Feb 2006 06:17:16 +0000 (06:17 +0000)
committerChris Taylor <chris@icculus.org>
Sun, 26 Feb 2006 06:17:16 +0000 (06:17 +0000)
ChangeLog
main/gamesave.c

index c60b9a1..4875e18 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,6 +8,9 @@
        * main/gamerend.c: show the death sequence for d2x-gl
        (fix bug #2513)
 
+       * main/gamesave.c: with the editor built, don't make .txm files
+       when a level is loaded (only make them when saving levels)
+
 2006-02-25  Chris Taylor  <chris@icculus.org>
 
        * main/menu.c: complete removal of 7th option in Options menu,
index 607d0c9..e4a2527 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: gamesave.c,v 1.33 2006-02-26 02:29:06 chris Exp $ */
+/* $Id: gamesave.c,v 1.34 2006-02-26 06:16:57 chris Exp $ */
 /*
 THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
 SOFTWARE CORPORATION ("PARALLAX").  PARALLAX, IN DISTRIBUTING THE CODE TO
@@ -23,7 +23,7 @@ COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION.  ALL RIGHTS RESERVED.
 #endif
 
 #ifdef RCS
-char gamesave_rcsid[] = "$Id: gamesave.c,v 1.33 2006-02-26 02:29:06 chris Exp $";
+char gamesave_rcsid[] = "$Id: gamesave.c,v 1.34 2006-02-26 06:16:57 chris Exp $";
 #endif
 
 #include <stdio.h>
@@ -1373,7 +1373,7 @@ int load_level(char * filename_passed)
 
        set_ambient_sound_flags();
 
-       #ifdef EDITOR
+       #if 0   //def EDITOR
        write_game_text_file(filename);
        if (Errors_in_mine) {
                if (is_real_level(filename)) {