From 955e827b19fb7bb3621016983b25480e599b0efa Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 21 Oct 2006 19:23:16 +0000 Subject: [PATCH] Fixed bug am45492 (stats always resetting) --- dlls/dod2/dodx/CRank.cpp | 2 +- dlls/dod2/dodx/amxxmodule.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/dod2/dodx/CRank.cpp b/dlls/dod2/dodx/CRank.cpp index 6a479eca..4cc3e169 100755 --- a/dlls/dod2/dodx/CRank.cpp +++ b/dlls/dod2/dodx/CRank.cpp @@ -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; diff --git a/dlls/dod2/dodx/amxxmodule.cpp b/dlls/dod2/dodx/amxxmodule.cpp index 30ef9c79..d8c8c56c 100755 --- a/dlls/dod2/dodx/amxxmodule.cpp +++ b/dlls/dod2/dodx/amxxmodule.cpp @@ -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