aboutsummaryrefslogtreecommitdiff
path: root/engines/cge2/cge2_main.cpp
diff options
context:
space:
mode:
authoruruk2014-05-26 16:09:49 +0200
committeruruk2014-05-26 16:09:49 +0200
commit43ce991b84b75b290a9098c940a3d5294ff3eb66 (patch)
treea8121ebd6820727a75bd162258ceea2bee9dc54c /engines/cge2/cge2_main.cpp
parent75546134c817a2f267c4ffff13b822ccf7e5e923 (diff)
downloadscummvm-rg350-43ce991b84b75b290a9098c940a3d5294ff3eb66.tar.gz
scummvm-rg350-43ce991b84b75b290a9098c940a3d5294ff3eb66.tar.bz2
scummvm-rg350-43ce991b84b75b290a9098c940a3d5294ff3eb66.zip
CGE2: Rework loadUser().
Diffstat (limited to 'engines/cge2/cge2_main.cpp')
-rw-r--r--engines/cge2/cge2_main.cpp13
1 files 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() {