aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/mads/scene.cpp2
-rw-r--r--engines/mads/scene_data.h5
2 files changed, 6 insertions, 1 deletions
diff --git a/engines/mads/scene.cpp b/engines/mads/scene.cpp
index 0e3960c0f8..d589010194 100644
--- a/engines/mads/scene.cpp
+++ b/engines/mads/scene.cpp
@@ -548,7 +548,7 @@ void Scene::doAction() {
if (_action._inProgress) {
_action._savedFields._commandError = true;
- warning("TODO: PtrUnk4");
+ _sceneLogic->unhandledAction();
}
if (_action._inProgress)
diff --git a/engines/mads/scene_data.h b/engines/mads/scene_data.h
index 83caec5682..db25298e91 100644
--- a/engines/mads/scene_data.h
+++ b/engines/mads/scene_data.h
@@ -115,6 +115,11 @@ public:
virtual void postActions() {}
/**
+ * Unhandled action handling
+ */
+ virtual void unhandledAction() {}
+
+ /**
* Synchronize any local data for the scene
*/
virtual void synchronize(Common::Serializer &s) {}