diff --git a/dlls/engine/amxxapi.cpp b/dlls/engine/amxxapi.cpp index cbb37fb2..9cee50ce 100755 --- a/dlls/engine/amxxapi.cpp +++ b/dlls/engine/amxxapi.cpp @@ -65,7 +65,7 @@ void OnPluginsLoaded() StartFrameForward = MF_RegisterForward("server_frame", ET_IGNORE, 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 - 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 VexdTouchForward = MF_RegisterForward("vexd_pfntouch", ET_IGNORE, FP_CELL, FP_CELL, FP_DONE); // done VexdServerForward = MF_RegisterForward("ServerFrame", ET_IGNORE, FP_DONE); // done diff --git a/dlls/engine/forwards.cpp b/dlls/engine/forwards.cpp index 423ba8d0..e1ec3627 100755 --- a/dlls/engine/forwards.cpp +++ b/dlls/engine/forwards.cpp @@ -37,7 +37,8 @@ int fstrcmp(const char *s1, const char *s2) return 1; } -int Spawn(edict_t *pEntity) { +int Spawn(edict_t *pEntity) +{ if (!g_precachedStuff) { // Used for SetView, added by JGHG int returnValue = PRECACHE_MODEL("models/rpgrocket.mdl");