/************************************************************************
*
* Flood Project  (2008-201x)
* Licensed under the simplified BSD license. All rights reserved.
*
************************************************************************/

#include "GameRuntime/API.h"
#include "GameRuntime/Game.h"

//-----------------------------------//

int main(int argc, char** argv)
{
	Game gameInstance;
	gameInstance.run();

	return 0;
}
/************************************************************************
*
* Flood Project  (2008-201x)
* Licensed under the simplified BSD license. All rights reserved.
*
************************************************************************/

#include "GameRuntime/API.h"
#include "GameRuntime/Game.h"

//-----------------------------------//

int main(int argc, char** argv)
{
	Game gameInstance;
	
	game()->run();

	return 0;
}



--- 
+++ 
@@ -13,10 +13,7 @@
 int main(int argc, char** argv)
 {
 	Game gameInstance;
-	
-	game()->run();
+	gameInstance.run();
 
 	return 0;
 }
-
-
Use the local variable instead of a global accessor.
