diff options
author | Simei Yin | 2018-05-29 22:34:22 +0200 |
---|---|---|
committer | Simei Yin | 2018-05-29 22:37:10 +0200 |
commit | 87e58a9b7e26986c8d396d836a97ad01a5f74c52 (patch) | |
tree | 5302c65b34fa93ccc1c78ebcd01abe6808057802 /engines/sludge/main_loop.cpp | |
parent | dc320b86bc0da7026bfd650be6a8450684b54fa9 (diff) | |
download | scummvm-rg350-87e58a9b7e26986c8d396d836a97ad01a5f74c52.tar.gz scummvm-rg350-87e58a9b7e26986c8d396d836a97ad01a5f74c52.tar.bz2 scummvm-rg350-87e58a9b7e26986c8d396d836a97ad01a5f74c52.zip |
SLUDGE: Split runSludge() to runAllFunctions() and handleSaveLoad()
Diffstat (limited to 'engines/sludge/main_loop.cpp')
-rw-r--r-- | engines/sludge/main_loop.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/sludge/main_loop.cpp b/engines/sludge/main_loop.cpp index ee0bae1d1d..8f6e1f9cfb 100644 --- a/engines/sludge/main_loop.cpp +++ b/engines/sludge/main_loop.cpp @@ -31,6 +31,7 @@ #include "sludge/function.h" #include "sludge/graphics.h" #include "sludge/language.h" +#include "sludge/loadsave.h" #include "sludge/newfatal.h" #include "sludge/objtypes.h" #include "sludge/people.h" @@ -63,7 +64,8 @@ int main_loop(Common::String filename) { g_sludge->_evtMan->checkInput(); g_sludge->_peopleMan->walkAllPeople(); if (g_sludge->_evtMan->handleInput()) { - runSludge(); + runAllFunctions(); + handleSaveLoad(); } sludgeDisplay(); g_sludge->_soundMan->handleSoundLists(); |