aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/dreamweb/stubs.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp
index 644150e157..10ecd3a9bc 100644
--- a/engines/dreamweb/stubs.cpp
+++ b/engines/dreamweb/stubs.cpp
@@ -692,7 +692,11 @@ void DreamGenContext::getroomdata() {
}
void DreamGenContext::getroomdata(uint8 roomIndex) {
- getroomdata(roomIndex);
+ // FIXME: This calls itself recursively! Clearly not what was intended.
+ // It isn't called anywhere right now, so just throw an error if it's
+ // ever called.
+ //getroomdata(roomIndex);
+ error("getroomdata() with roomIndex param called");
}
void DreamGenContext::startloading() {