diff options
author | Bertrand Augereau | 2011-08-24 22:55:54 +0200 |
---|---|---|
committer | Bertrand Augereau | 2011-08-24 22:55:54 +0200 |
commit | fd9e50e24577714dc6583c1f3fdf14173e15a95f (patch) | |
tree | 3d3b04ad64eb1a7541c831e4a9b04eea6465eb2c /engines | |
parent | 64db457b7f19d3f80affe5557d7817219bae4185 (diff) | |
download | scummvm-rg350-fd9e50e24577714dc6583c1f3fdf14173e15a95f.tar.gz scummvm-rg350-fd9e50e24577714dc6583c1f3fdf14173e15a95f.tar.bz2 scummvm-rg350-fd9e50e24577714dc6583c1f3fdf14173e15a95f.zip |
DREAMWEB: Wrong and useless 'getroomdata' overload spotted by bluegr removed
Diffstat (limited to 'engines')
-rw-r--r-- | engines/dreamweb/stubs.cpp | 8 | ||||
-rw-r--r-- | engines/dreamweb/stubs.h | 1 |
2 files changed, 0 insertions, 9 deletions
diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp index 1f10f489b8..22a3cf01c0 100644 --- a/engines/dreamweb/stubs.cpp +++ b/engines/dreamweb/stubs.cpp @@ -691,14 +691,6 @@ void DreamGenContext::getroomdata() { bx = kRoomdata + sizeof(Room) * al; } -void DreamGenContext::getroomdata(uint8 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() { const Room *room = (Room *)cs.ptr(bx, sizeof(Room)); startloading(room); diff --git a/engines/dreamweb/stubs.h b/engines/dreamweb/stubs.h index 555acfbf7a..8fbfda3d4f 100644 --- a/engines/dreamweb/stubs.h +++ b/engines/dreamweb/stubs.h @@ -61,7 +61,6 @@ void kernchars(); uint8 kernchars(uint8 firstChar, uint8 secondChar, uint8 width); void getroomdata(); - void getroomdata(uint8 roomIndex); void readheader(); void fillspace(); void startloading(); |