From e305009e9a8f0d8a625ed8e0529c072911dafec9 Mon Sep 17 00:00:00 2001 From: Arkshine Date: Fri, 15 May 2015 19:14:34 +0200 Subject: [PATCH] Fix EngFunc_ChangeLevel --- modules/fakemeta/engfunc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/fakemeta/engfunc.cpp b/modules/fakemeta/engfunc.cpp index 479b8295..938c77fd 100644 --- a/modules/fakemeta/engfunc.cpp +++ b/modules/fakemeta/engfunc.cpp @@ -105,7 +105,7 @@ static cell AMX_NATIVE_CALL engfunc(AMX *amx, cell *params) // pfnChangeLevel (is this needed?) case EngFunc_ChangeLevel: // void ) (char* s1, char* s2); temp = MF_GetAmxString(amx,params[2],0,&len); - temp2 = MF_GetAmxString(amx,params[3],1,&len); + temp2 = MF_GetAmxStringNull(amx,params[3],1,&len); (*g_engfuncs.pfnChangeLevel)(temp,temp2); return 1;