diff options
author | Filippos Karapetis | 2011-08-24 21:09:17 +0300 |
---|---|---|
committer | Filippos Karapetis | 2011-08-24 21:09:17 +0300 |
commit | 5ba98f2d7b4248417ad318098efa0ce76c792fdd (patch) | |
tree | 0a7a4a93d3c87d0c10ba0177be93e8b518dc2f47 | |
parent | 3221e84d510dc1a67c361c77a698c2ce1c785c06 (diff) | |
download | scummvm-rg350-5ba98f2d7b4248417ad318098efa0ce76c792fdd.tar.gz scummvm-rg350-5ba98f2d7b4248417ad318098efa0ce76c792fdd.tar.bz2 scummvm-rg350-5ba98f2d7b4248417ad318098efa0ce76c792fdd.zip |
DREAMWEB: Added a TODO and an error call to a variant of getroomdata()
This variant recursively calls itself. It's not used anywhere, so it should
be removed if it's actually unused.
-rw-r--r-- | engines/dreamweb/stubs.cpp | 6 |
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() { |