core/sourcemod.cpp
changeset 4139 de7d1cd00703
parent 4116 3e58428d988f
     1.1 --- a/core/sourcemod.cpp	Wed Oct 09 08:43:08 2013 -0400
     1.2 +++ b/core/sourcemod.cpp	Wed Oct 09 08:43:08 2013 -0400
     1.3 @@ -39,7 +39,6 @@
     1.4  #include "AdminCache.h"
     1.5  #include "sm_stringutil.h"
     1.6  #include "PlayerManager.h"
     1.7 -#include "ForwardSys.h"
     1.8  #include "TimerSys.h"
     1.9  #include <IGameConfigs.h>
    1.10  #include "frame_hooks.h"
    1.11 @@ -374,7 +373,7 @@
    1.12  
    1.13  	if (!g_pOnMapEnd)
    1.14  	{
    1.15 -		g_pOnMapEnd = g_Forwards.CreateForward("OnMapEnd", ET_Ignore, 0, NULL);
    1.16 +		g_pOnMapEnd = forwardsys->CreateForward("OnMapEnd", ET_Ignore, 0, NULL);
    1.17  	}
    1.18  
    1.19  	g_LevelEndBarrier = true;
    1.20 @@ -517,7 +516,7 @@
    1.21  	extsys->Shutdown();
    1.22  
    1.23  	if (g_pOnMapEnd)
    1.24 -		g_Forwards.ReleaseForward(g_pOnMapEnd);
    1.25 +		forwardsys->ReleaseForward(g_pOnMapEnd);
    1.26  
    1.27  	/* Notify! */
    1.28  	SMGlobalClass *pBase = SMGlobalClass::head;