mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 13:55:36 +03:00
removed changelevel forward
This commit is contained in:
parent
93ce1ac470
commit
8cc73227c7
@ -168,7 +168,6 @@ inline edict_t* INDEXENT2( int iEdictNum )
|
||||
}
|
||||
|
||||
int Spawn(edict_t *pEntity);
|
||||
void ChangeLevel(char* s1, char* s2);
|
||||
void PlaybackEvent(int flags, const edict_t *pInvoker, unsigned short eventindex, float delay, float *origin, float *angles, float fparam1, float fparam2, int iparam1, int iparam2, int bparam1, int bparam2);
|
||||
void KeyValue(edict_t *pEntity, KeyValueData *pkvd);
|
||||
void StartFrame();
|
||||
|
@ -3,7 +3,6 @@
|
||||
bool incmd = false;
|
||||
int DispatchUseForward = 0;
|
||||
int SpawnForward = 0;
|
||||
int ChangelevelForward = 0;
|
||||
int PlaybackForward = 0;
|
||||
int DispatchKeyForward = 0;
|
||||
int pfnTouchForward = 0;
|
||||
@ -54,18 +53,6 @@ int Spawn(edict_t *pEntity)
|
||||
RETURN_META_VALUE(MRES_IGNORED, 0);
|
||||
}
|
||||
|
||||
void ChangeLevel(char* s1, char* s2)
|
||||
{
|
||||
if (ChangelevelForward != -1) {
|
||||
int retVal = 0;
|
||||
char *map = s1;
|
||||
retVal = MF_ExecuteForward(ChangelevelForward, map);
|
||||
if (retVal)
|
||||
RETURN_META(MRES_SUPERCEDE);
|
||||
}
|
||||
RETURN_META(MRES_IGNORED);
|
||||
}
|
||||
|
||||
void PlaybackEvent(int flags, const edict_t *pInvoker, unsigned short eventindex, float delay, float *origin, float *angles, float fparam1, float fparam2, int iparam1, int iparam2, int bparam1, int bparam2)
|
||||
{
|
||||
if (PlaybackForward != -1) {
|
||||
|
Loading…
Reference in New Issue
Block a user