rnd-20061024-1-src
[rocksndiamonds.git] / src / game.c
index 2ed1121bab972f1986a5866eee5087d1c103ab7e..f078ff7c5ae5915d0279c07a7c5cc92a0475c014 100644 (file)
@@ -12683,6 +12683,9 @@ void SaveEngineSnapshot()
 {
   FreeEngineSnapshot();                /* free previous snapshot, if needed */
 
+  if (level_editor_test_game)  /* do not save snapshots from editor */
+    return;
+
   /* copy some special values to a structure better suited for the snapshot */
 
   SaveEngineSnapshotValues_RND();