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