aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2014-05-24 14:44:12 -0400
committerPaul Gilbert2014-05-24 14:44:12 -0400
commit722b32506e5d28a5037b1bb1bef6f8759af13423 (patch)
treec18504b7758a925e646b0d6a9b4c26838930155c
parentb2860fc675db9958c994778a12947880812d4690 (diff)
downloadscummvm-rg350-722b32506e5d28a5037b1bb1bef6f8759af13423.tar.gz
scummvm-rg350-722b32506e5d28a5037b1bb1bef6f8759af13423.tar.bz2
scummvm-rg350-722b32506e5d28a5037b1bb1bef6f8759af13423.zip
MADS: Replaced a TODO with a stubbed method
-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) {}