From a4fcf9ee2bc936cf42a65c24465d003a794f525b Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 24 Nov 2019 21:21:15 +0100 Subject: [PATCH] - fixed savegame writing for Ion Fury. The composite's writers may not be deleted, they are needed for creating the final savegame file. --- source/duke3d/src/player.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/source/duke3d/src/player.cpp b/source/duke3d/src/player.cpp index 461530148..9b354139e 100644 --- a/source/duke3d/src/player.cpp +++ b/source/duke3d/src/player.cpp @@ -5731,7 +5731,6 @@ int portableBackupSave(const char * path, const char * name, int volume, int lev } fil->Write(encoded, strlen(encoded)); - delete fil; sjson_free_string(ctx, encoded); sjson_destroy_context(ctx);