From 02446ac5f125946c4f8df2b9110e57e30c752809 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 8 Sep 2004 07:47:01 +0000 Subject: [PATCH] Fixed LoadAmxScript --- dlls/csstats2/csstats/CRank.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/csstats2/csstats/CRank.cpp b/dlls/csstats2/csstats/CRank.cpp index fd2614e4..69e3d5f7 100755 --- a/dlls/csstats2/csstats/CRank.cpp +++ b/dlls/csstats2/csstats/CRank.cpp @@ -130,7 +130,7 @@ void RankSystem::clear(){ bool RankSystem::loadCalc(const char* filename, char* error) { - if ((MF_LoadAmxScript(&calc.amx,&calc.code,filename,error)!=AMX_ERR_NONE)|| + if ((MF_LoadAmxScript(&calc.amx,&calc.code,filename,error,0)!=AMX_ERR_NONE)|| (MF_AmxAllot(&calc.amx, 8 , &calc.amxAddr1, &calc.physAddr1)!=AMX_ERR_NONE)|| (MF_AmxAllot(&calc.amx, 8 , &calc.amxAddr2, &calc.physAddr2)!=AMX_ERR_NONE)|| (MF_AmxFindPublic(&calc.amx,"get_score",&calc.func)!=AMX_ERR_NONE)){