Rename change_level to engine_changelevel

This commit is contained in:
Arkshine
2015-01-23 16:52:58 +01:00
parent 5ca0e5617d
commit cdfd789f56
5 changed files with 9 additions and 7 deletions

View File

@ -633,7 +633,7 @@ public cmdSlap(id, level, cid)
public chMap(map[])
{
change_level(map);
engine_changelevel(map);
}
public cmdMap(id, level, cid)

View File

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

View File

@ -300,7 +300,9 @@ public cmdMapsMenu(id, level, cid)
}
public delayedChange(mapname[])
change_level(mapname)
{
engine_changelevel(mapname)
}
public actionVoteMapMenu(id, key)
{

View File

@ -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()