aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/settings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sherlock/settings.cpp')
-rw-r--r--engines/sherlock/settings.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sherlock/settings.cpp b/engines/sherlock/settings.cpp
index ffa1f056de..73c99bfa82 100644
--- a/engines/sherlock/settings.cpp
+++ b/engines/sherlock/settings.cpp
@@ -223,9 +223,10 @@ void Settings::show(SherlockEngine *vm) {
Screen &screen = *vm->_screen;
Sound &sound = *vm->_sound;
Talk &talk = *vm->_talk;
- UserInterface &ui = *vm->_ui;
+ ScalpelUserInterface &ui = *(ScalpelUserInterface *)vm->_ui;
bool updateConfig = false;
+ assert(vm->getGameID() == GType_SerratedScalpel);
Settings settings(vm);
settings.drawInteface(false);