Fixed save game Load/Save failed assertion on Debug build
This commit is contained in:
parent
f70c2ad54f
commit
0600edd49d
@ -319,7 +319,7 @@ _TWEEKCLASS(CTweakFloat, float);
|
||||
#undef _TWEEKCLASS
|
||||
|
||||
#ifdef VALIDATE_SAVE_SIZE
|
||||
static int32 _bufBytesRead;
|
||||
extern int32 _bufBytesRead;
|
||||
#define INITSAVEBUF _bufBytesRead = 0;
|
||||
#define VALIDATESAVEBUF(b) assert(_bufBytesRead == b);
|
||||
#else
|
||||
|
@ -447,6 +447,10 @@ void re3_trace(const char *filename, unsigned int lineno, const char *func, cons
|
||||
OutputDebugStringA(buff);
|
||||
}
|
||||
|
||||
#ifdef VALIDATE_SAVE_SIZE
|
||||
int32 _bufBytesRead;
|
||||
#endif
|
||||
|
||||
void
|
||||
patch()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user