Fixed bug at18525 (twistedeuphoria).

This commit is contained in:
David Anderson 2005-09-05 22:05:23 +00:00
parent ac4014ff5a
commit e90364c17b
2 changed files with 3 additions and 2 deletions

View File

@ -65,7 +65,7 @@ void OnPluginsLoaded()
StartFrameForward = MF_RegisterForward("server_frame", ET_IGNORE, FP_DONE); // done StartFrameForward = MF_RegisterForward("server_frame", ET_IGNORE, FP_DONE); // done
DispatchKeyForward = MF_RegisterForward("pfn_keyvalue", ET_STOP, FP_CELL, FP_DONE); // done DispatchKeyForward = MF_RegisterForward("pfn_keyvalue", ET_STOP, FP_CELL, FP_DONE); // done
PlaybackForward = MF_RegisterForward("pfn_playbackevent", ET_STOP, FP_CELL, FP_CELL, FP_CELL, FP_FLOAT, FP_ARRAY, FP_ARRAY, FP_FLOAT, FP_FLOAT, FP_CELL, FP_CELL, FP_CELL, FP_CELL, FP_DONE); // done PlaybackForward = MF_RegisterForward("pfn_playbackevent", ET_STOP, FP_CELL, FP_CELL, FP_CELL, FP_FLOAT, FP_ARRAY, FP_ARRAY, FP_FLOAT, FP_FLOAT, FP_CELL, FP_CELL, FP_CELL, FP_CELL, FP_DONE); // done
SpawnForward = MF_RegisterForward("pfn_spawn", ET_IGNORE, FP_CELL, FP_DONE); // done SpawnForward = MF_RegisterForward("pfn_spawn", ET_STOP, FP_CELL, FP_DONE); // done
pfnTouchForward = MF_RegisterForward("pfn_touch", ET_STOP, FP_CELL, FP_CELL, FP_DONE); // done pfnTouchForward = MF_RegisterForward("pfn_touch", ET_STOP, FP_CELL, FP_CELL, FP_DONE); // done
VexdTouchForward = MF_RegisterForward("vexd_pfntouch", ET_IGNORE, FP_CELL, FP_CELL, FP_DONE); // done VexdTouchForward = MF_RegisterForward("vexd_pfntouch", ET_IGNORE, FP_CELL, FP_CELL, FP_DONE); // done
VexdServerForward = MF_RegisterForward("ServerFrame", ET_IGNORE, FP_DONE); // done VexdServerForward = MF_RegisterForward("ServerFrame", ET_IGNORE, FP_DONE); // done

View File

@ -37,7 +37,8 @@ int fstrcmp(const char *s1, const char *s2)
return 1; return 1;
} }
int Spawn(edict_t *pEntity) { int Spawn(edict_t *pEntity)
{
if (!g_precachedStuff) { if (!g_precachedStuff) {
// Used for SetView, added by JGHG // Used for SetView, added by JGHG
int returnValue = PRECACHE_MODEL("models/rpgrocket.mdl"); int returnValue = PRECACHE_MODEL("models/rpgrocket.mdl");