Fix EngFunc_ChangeLevel

This commit is contained in:
Arkshine 2015-05-15 19:14:34 +02:00
parent af7a6e3c87
commit e305009e9a

View File

@ -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;