Rename change_level to engine_changelevel
This commit is contained in:
@ -633,7 +633,7 @@ public cmdSlap(id, level, cid)
|
||||
|
||||
public chMap(map[])
|
||||
{
|
||||
change_level(map);
|
||||
engine_changelevel(map);
|
||||
}
|
||||
|
||||
public cmdMap(id, level, cid)
|
||||
|
@ -63,7 +63,7 @@ forward plugin_unpause();
|
||||
* server command "changelevel" which is used by many plugins will not
|
||||
* trigger this forward. Unfortunately this means that in practice this
|
||||
* forward is very unreliable, and will not be called in many situations.
|
||||
* @note AMXX 1.8.3 has added the change_level() function which will utilize
|
||||
* @note AMXX 1.8.3 has added the engine_changelevel() function which will utilize
|
||||
* the correct engine function to change the map and therefore trigger
|
||||
* this forward.
|
||||
*
|
||||
@ -262,7 +262,7 @@ native precache_generic(const szFile[]);
|
||||
*
|
||||
* @noreturn
|
||||
*/
|
||||
native change_level(const map[]);
|
||||
native engine_changelevel(const map[]);
|
||||
|
||||
/**
|
||||
* Sets info on the client.
|
||||
|
@ -300,7 +300,9 @@ public cmdMapsMenu(id, level, cid)
|
||||
}
|
||||
|
||||
public delayedChange(mapname[])
|
||||
change_level(mapname)
|
||||
{
|
||||
engine_changelevel(mapname)
|
||||
}
|
||||
|
||||
public actionVoteMapMenu(id, key)
|
||||
{
|
||||
|
@ -97,7 +97,7 @@ public delayedChange(param[])
|
||||
if (g_mp_chattime) {
|
||||
set_pcvar_float(g_mp_chattime, get_pcvar_float(g_mp_chattime) - 2.0)
|
||||
}
|
||||
change_level(param)
|
||||
engine_changelevel(param)
|
||||
}
|
||||
|
||||
public changeMap()
|
||||
|
Reference in New Issue
Block a user