removed changelevel forward

This commit is contained in:
David Anderson 2006-01-24 15:02:11 +00:00
parent 93ce1ac470
commit 8cc73227c7
2 changed files with 0 additions and 14 deletions

View File

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

View File

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