1.1 --- a/core/frame_hooks.cpp Sat Aug 23 09:46:52 2008 +0000
1.2 +++ b/core/frame_hooks.cpp Sat Aug 23 19:51:02 2008 +0000
1.3 @@ -35,9 +35,11 @@
1.4 #include "MenuStyle_Valve.h"
1.5 #include "MenuStyle_Radio.h"
1.6 #include "PlayerManager.h"
1.7 +#include "CoreConfig.h"
1.8
1.9 float g_LastMenuTime = 0.0f;
1.10 float g_LastAuthCheck = 0.0f;
1.11 +bool g_PendingInternalPush = false;
1.12
1.13 void RunFrameHooks(bool simulating)
1.14 {
1.15 @@ -45,6 +47,12 @@
1.16 g_DBMan.RunFrame();
1.17 g_HL2.ProcessFakeCliCmdQueue();
1.18 g_HL2.ProcessDelayedKicks();
1.19 +
1.20 + if (g_PendingInternalPush)
1.21 + {
1.22 + SM_InternalCmdTrigger();
1.23 + }
1.24 +
1.25 g_SourceMod.ProcessGameFrameHooks(simulating);
1.26
1.27 float curtime = *g_pUniversalTime;