error proning

This commit is contained in:
Eduardo Bart
2011-04-23 20:23:52 -03:00
parent 3960240b8e
commit c1b2b3ed3a
8 changed files with 39 additions and 27 deletions

View File

@@ -84,7 +84,7 @@ int main(int argc, const char *argv[])
// init platform stuff
Platform::init("OTClient");
// init random numbers
// seed random
srand(time(NULL));
// init resources
@@ -124,7 +124,6 @@ int main(int argc, const char *argv[])
logFatal("FATAL ERROR: no ui loaded at all, no reason to continue running");
Platform::showWindow();
//Platform::hideMouseCursor();
// main loop, run everything
g_engine.run();
@@ -143,7 +142,6 @@ int main(int argc, const char *argv[])
// save configurations before exiting
saveConfigs();
//Platform::showMouseCursor();
Platform::terminate();
// unload resources