Hibernate, not Sleep.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3754 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
+1
-1
@@ -452,7 +452,7 @@ main (int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
else if (!GameActive)
|
else if (!GameActive)
|
||||||
{ // Throttle down the main loop when game is inactive
|
{ // Throttle down the main loop when game is inactive
|
||||||
SleepThread (ONE_SECOND / 4);
|
HibernateThread (ONE_SECOND / 4);
|
||||||
}
|
}
|
||||||
|
|
||||||
TFB_ProcessEvents ();
|
TFB_ProcessEvents ();
|
||||||
|
|||||||
Reference in New Issue
Block a user