mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 22:05:37 +03:00
Fixed bug am45492 (stats always resetting)
This commit is contained in:
parent
00380cfe4c
commit
955e827b19
@ -251,7 +251,7 @@ void RankSystem::loadRank(const char* filename)
|
|||||||
}
|
}
|
||||||
|
|
||||||
short int i = 0;
|
short int i = 0;
|
||||||
if (!fread(&i, sizeof(short int), 1, bfp) != 1)
|
if (fread(&i, sizeof(short int), 1, bfp) != 1)
|
||||||
{
|
{
|
||||||
fclose(bfp);
|
fclose(bfp);
|
||||||
return;
|
return;
|
||||||
|
@ -2773,7 +2773,7 @@ void ValidateMacros_DontCallThis_Smiley()
|
|||||||
MF_FindLibrary(NULL, LibType_Class);
|
MF_FindLibrary(NULL, LibType_Class);
|
||||||
MF_AddLibraries(NULL, LibType_Class, NULL);
|
MF_AddLibraries(NULL, LibType_Class, NULL);
|
||||||
MF_RemoveLibraries(NULL);
|
MF_RemoveLibraries(NULL);
|
||||||
MF_OverrideNatives(NULL);
|
MF_OverrideNatives(NULL, "");
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user