aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/pink/pink.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/engines/pink/pink.cpp b/engines/pink/pink.cpp
index edbf8d93e0..df630f18c7 100644
--- a/engines/pink/pink.cpp
+++ b/engines/pink/pink.cpp
@@ -88,10 +88,10 @@ Common::Error PinkEngine::init() {
_orb.loadGame(this);
- if (ConfMan.hasKey("save_slot")) {
+ if (ConfMan.hasKey("save_slot"))
loadGameState(ConfMan.getInt("save_slot"));
- }
- else initModule(_modules[0]->getName(), "", nullptr);
+ else
+ initModule(_modules[0]->getName(), "", nullptr);
return Common::kNoError;
}
@@ -287,8 +287,10 @@ bool PinkEngine::canSaveGameStateCurrently() {
}
bool PinkEngine::hasFeature(Engine::EngineFeature f) const {
- return f == kSupportsLoadingDuringRuntime ||
- f == kSupportsSavingDuringRuntime;
+ return
+ f == kSupportsRTL ||
+ f == kSupportsLoadingDuringRuntime ||
+ f == kSupportsSavingDuringRuntime;
}
void PinkEngine::pauseEngineIntern(bool pause) {