[Orxonox-commit 3800] r8478 - code/branches/unity_build/src/libraries/core
rgrieder at orxonox.net
rgrieder at orxonox.net
Sat May 14 04:32:40 CEST 2011
Author: rgrieder
Date: 2011-05-14 04:32:39 +0200 (Sat, 14 May 2011)
New Revision: 8478
Modified:
code/branches/unity_build/src/libraries/core/Game.cc
Log:
Added forgotten detail in revision 8423 (trunk).
Modified: code/branches/unity_build/src/libraries/core/Game.cc
===================================================================
--- code/branches/unity_build/src/libraries/core/Game.cc 2011-05-13 12:53:28 UTC (rev 8477)
+++ code/branches/unity_build/src/libraries/core/Game.cc 2011-05-14 02:32:39 UTC (rev 8478)
@@ -108,7 +108,7 @@
this->core_ = new Core(cmdLine);
// Do this after the Core creation!
- ClassIdentifier<Game>::getIdentifier("Game")->initialiseObject(this, "Game", true);
+ RegisterRootObject(Game);
this->setConfigValues();
// After the core has been created, we can safely instantiate the GameStates that don't require graphics
More information about the Orxonox-commit
mailing list