Merge pull request #244 from Arkshine/fix/fakemeta-changelevel

Fix EngFunc_ChangeLevel
This commit is contained in:
Vincent Herbet 2015-05-15 21:29:25 +02:00
commit ffa12bfe54

View File

@ -105,7 +105,7 @@ static cell AMX_NATIVE_CALL engfunc(AMX *amx, cell *params)
// pfnChangeLevel (is this needed?) // pfnChangeLevel (is this needed?)
case EngFunc_ChangeLevel: // void ) (char* s1, char* s2); case EngFunc_ChangeLevel: // void ) (char* s1, char* s2);
temp = MF_GetAmxString(amx,params[2],0,&len); 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); (*g_engfuncs.pfnChangeLevel)(temp,temp2);
return 1; return 1;