Fixed bug am45492 (stats always resetting)

This commit is contained in:
David Anderson 2006-10-21 19:23:16 +00:00
parent 00380cfe4c
commit 955e827b19
2 changed files with 2 additions and 2 deletions

View File

@ -251,7 +251,7 @@ void RankSystem::loadRank(const char* filename)
}
short int i = 0;
if (!fread(&i, sizeof(short int), 1, bfp) != 1)
if (fread(&i, sizeof(short int), 1, bfp) != 1)
{
fclose(bfp);
return;

View File

@ -2773,7 +2773,7 @@ void ValidateMacros_DontCallThis_Smiley()
MF_FindLibrary(NULL, LibType_Class);
MF_AddLibraries(NULL, LibType_Class, NULL);
MF_RemoveLibraries(NULL);
MF_OverrideNatives(NULL);
MF_OverrideNatives(NULL, "");
}
#endif