added affinity implementation

This commit is contained in:
David Anderson
2006-05-19 01:54:28 +00:00
parent 9bbb0df492
commit f9c9088303
8 changed files with 84 additions and 3 deletions

View File

@ -284,7 +284,7 @@ void OnPluginsLoaded()
void StartFrame()
{
if (g_lasttime < gpGlobals->time)
if (g_pWorker && (g_lasttime < gpGlobals->time))
{
g_lasttime = gpGlobals->time + 0.3f;
g_QueueLock->Lock();