From 441e2ed220b934948a21e6011c5a04d141eb9651 Mon Sep 17 00:00:00 2001 From: helixhorned Date: Sat, 15 Dec 2012 11:28:56 +0000 Subject: [PATCH] Fix savegame loading. Bump BYTEVERSION. git-svn-id: https://svn.eduke32.com/eduke32@3295 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/duke3d.h | 2 +- polymer/eduke32/source/gamevars.c | 17 ++++++++++++----- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/polymer/eduke32/source/duke3d.h b/polymer/eduke32/source/duke3d.h index dfba0385d..96b1ec8a6 100644 --- a/polymer/eduke32/source/duke3d.h +++ b/polymer/eduke32/source/duke3d.h @@ -57,7 +57,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define VOLUMEONE (g_Shareware == 1) // increase by 3, because atomic GRP adds 1, and Shareware adds 2 -#define BYTEVERSION_JF 264 +#define BYTEVERSION_JF 267 #define BYTEVERSION_13 27 #define BYTEVERSION_14 116 diff --git a/polymer/eduke32/source/gamevars.c b/polymer/eduke32/source/gamevars.c index 01763e856..3989e33d0 100644 --- a/polymer/eduke32/source/gamevars.c +++ b/polymer/eduke32/source/gamevars.c @@ -157,7 +157,12 @@ int32_t Gv_ReadSave(int32_t fil, int32_t newbehav) if (kdfread(&g_gameArrayCount,sizeof(g_gameArrayCount),1,fil) != 1) goto corrupt; for (i=0; i