mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-27 07:15:37 +03:00
Merge pull request #244 from Arkshine/fix/fakemeta-changelevel
Fix EngFunc_ChangeLevel
This commit is contained in:
commit
ffa12bfe54
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user