mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-01-13 23:38:07 +03:00
Fix EngFunc_ChangeLevel
This commit is contained in:
parent
af7a6e3c87
commit
e305009e9a
@ -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…
x
Reference in New Issue
Block a user