From dd98126423d915c19baf43184ba40fb0d9a68b64 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 1 Mar 2009 04:42:46 +0000 Subject: Engines: Fused several init&go methods into a single run method svn-id: r39003 --- engines/sword2/sword2.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'engines/sword2/sword2.cpp') diff --git a/engines/sword2/sword2.cpp b/engines/sword2/sword2.cpp index 71a949fe88..349646ff21 100644 --- a/engines/sword2/sword2.cpp +++ b/engines/sword2/sword2.cpp @@ -361,7 +361,7 @@ void Sword2Engine::setupPersistentResources() { _resman->openResource(CUR_PLAYER_ID); } -Common::Error Sword2Engine::init() { +Common::Error Sword2Engine::run() { // Get some falling RAM and put it in your pocket, never let it slip // away @@ -445,10 +445,6 @@ Common::Error Sword2Engine::init() { _screen->initialiseRenderCycle(); - return Common::kNoError; -} - -Common::Error Sword2Engine::go() { while (1) { if (_debugger->isAttached()) _debugger->onFrame(); -- cgit v1.2.3