diff options
| -rw-r--r-- | engines/hugo/hugo.cpp | 18 | 
1 files changed, 9 insertions, 9 deletions
| diff --git a/engines/hugo/hugo.cpp b/engines/hugo/hugo.cpp index 2221ebd77b..69cc16e0d5 100644 --- a/engines/hugo/hugo.cpp +++ b/engines/hugo/hugo.cpp @@ -67,15 +67,6 @@ HugoEngine::HugoEngine(OSystem *syst, const HugoGameDescription *gd) : Engine(sy  	DebugMan.addDebugChannel(kDebugFile, "File", "File IO debug level");  	DebugMan.addDebugChannel(kDebugRoute, "Route", "Route debug level");  	DebugMan.addDebugChannel(kDebugInventory, "Inventory", "Inventory debug level"); - -	_fileManager = new FileManager(*this); -	_scheduler = new Scheduler(*this); -	_screen = new Screen(*this); -	_mouseHandler = new MouseHandler(*this); -	_inventoryHandler = new InventoryHandler(*this); -	_parser = new Parser(*this); -	_route = new Route(*this); -	_soundHandler = new SoundHandler(*this);  }  HugoEngine::~HugoEngine() { @@ -149,6 +140,15 @@ Common::Error HugoEngine::run() {  	s_Engine = this;  	initGraphics(320, 200, false); +	_fileManager = new FileManager(*this); +	_scheduler = new Scheduler(*this); +	_screen = new Screen(*this); +	_mouseHandler = new MouseHandler(*this); +	_inventoryHandler = new InventoryHandler(*this); +	_parser = new Parser(*this); +	_route = new Route(*this); +	_soundHandler = new SoundHandler(*this); +  	if (!loadHugoDat())  		return Common::kUnknownError; | 
