X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame.c;h=f078ff7c5ae5915d0279c07a7c5cc92a0475c014;hb=36d0e6ff3c76c763be2392f1492eb37c4f062d30;hp=2ed1121bab972f1986a5866eee5087d1c103ab7e;hpb=ca40038f7fbffd28bd6a106715a573d2029b5a04;p=rocksndiamonds.git diff --git a/src/game.c b/src/game.c index 2ed1121b..f078ff7c 100644 --- a/src/game.c +++ b/src/game.c @@ -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();