run ac with high-priority on windows

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2371 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2008-08-24 09:35:53 +00:00
parent 402bd060b6
commit 407aa860e7
+4
View File
@@ -503,6 +503,10 @@ int main(int argc, char **argv)
}
initing = NOT_INITING;
#ifdef WIN32
SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS);
#endif
initlog("sdl");
int par = 0;
#ifdef _DEBUG