From 43ce991b84b75b290a9098c940a3d5294ff3eb66 Mon Sep 17 00:00:00 2001 From: uruk Date: Mon, 26 May 2014 16:09:49 +0200 Subject: CGE2: Rework loadUser(). --- engines/cge2/cge2_main.cpp | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/engines/cge2/cge2_main.cpp b/engines/cge2/cge2_main.cpp index 83569cc98a..3f8f8623e6 100644 --- a/engines/cge2/cge2_main.cpp +++ b/engines/cge2/cge2_main.cpp @@ -556,15 +556,10 @@ void CGE2Engine::runGame() { } void CGE2Engine::loadUser() { - // set scene - if (_mode == 0) { // user .SVG file found - warning("STUB: CGE2Engine::loadUser()"); - // Missing loading from save file. TODO: Implement it with the saving/loading! - } else if (_mode == 1) { - loadScript("CGE.INI"); - loadPos(); - // Missing saving to save file. TODO: Implement it with the saving/loading! - } + warning("STUB: CGE2Engine::loadUser()"); + // Missing loading from file. TODO: Implement it with the saving/loading! + loadScript("CGE.INI"); + loadPos(); } void CGE2Engine::loadPos() { -- cgit v1.2.3