This fixes the bug with the shrinker in savegames

git-svn-id: https://svn.eduke32.com/eduke32@1182 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2008-12-14 22:11:07 +00:00
parent cd920963e3
commit 2563deb562
4 changed files with 6 additions and 7 deletions

View file

@ -44,7 +44,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <shellapi.h> #include <shellapi.h>
#endif #endif
#define BUILDDATE " 20081211" #define BUILDDATE " 20081214"
#define VERSION " 1.2.0devel" #define VERSION " 1.2.0devel"
static int floor_over_floor; static int floor_over_floor;

View file

@ -3143,7 +3143,7 @@ static void Net_EnterMessage(void)
} }
} }
static void G_MoveClouds(void) static inline void G_MoveClouds(void)
{ {
if (totalclock > cloudtotalclock || totalclock < (cloudtotalclock-7)) if (totalclock > cloudtotalclock || totalclock < (cloudtotalclock-7))
{ {

View file

@ -126,10 +126,6 @@ int Gv_ReadSave(int fil)
aGameVars[i].plValues=NULL; aGameVars[i].plValues=NULL;
} }
// Bsprintf(g_szBuf,"CP:%s %d",__FILE__,__LINE__);
// AddLog(g_szBuf);
Gv_InitWeaponPointers();
// Bsprintf(g_szBuf,"CP:%s %d",__FILE__,__LINE__); // Bsprintf(g_szBuf,"CP:%s %d",__FILE__,__LINE__);
// AddLog(g_szBuf); // AddLog(g_szBuf);
for (i=0;i<g_gameVarCount;i++) for (i=0;i<g_gameVarCount;i++)
@ -149,6 +145,9 @@ int Gv_ReadSave(int fil)
// else nothing 'extra...' // else nothing 'extra...'
} }
// Bsprintf(g_szBuf,"CP:%s %d",__FILE__,__LINE__);
// AddLog(g_szBuf);
Gv_InitWeaponPointers();
Gv_RefreshPointers(); Gv_RefreshPointers();
if (kdfread(&g_gameArrayCount,sizeof(g_gameArrayCount),1,fil) != 1) goto corrupt; if (kdfread(&g_gameArrayCount,sizeof(g_gameArrayCount),1,fil) != 1) goto corrupt;

View file

@ -23,7 +23,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
#include "duke3d.h" #include "duke3d.h"
const char *s_buildDate = "20081211"; const char *s_buildDate = "20081214";
char *MusicPtr = NULL; char *MusicPtr = NULL;
int g_musicSize; int g_musicSize;