aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2013-04-17 21:14:04 +0200
committerWillem Jan Palenstijn2013-04-17 21:14:04 +0200
commitff33c5c367e15df32862887fc8c2c53817e4713f (patch)
tree369c21af707586926062eb83362862d3ffdc8f80 /engines/dreamweb
parent06afc39590016d9ccb8d96690d9529b1a88be710 (diff)
downloadscummvm-rg350-ff33c5c367e15df32862887fc8c2c53817e4713f.tar.gz
scummvm-rg350-ff33c5c367e15df32862887fc8c2c53817e4713f.tar.bz2
scummvm-rg350-ff33c5c367e15df32862887fc8c2c53817e4713f.zip
DREAMWEB: Make location array sizes more consistent
While location 15 doesn't actually exist, this makes roomPics more consistent with the roomsCanGo array.
Diffstat (limited to 'engines/dreamweb')
-rw-r--r--engines/dreamweb/newplace.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/dreamweb/newplace.cpp b/engines/dreamweb/newplace.cpp
index 5b4b0260f5..6b1f9d097b 100644
--- a/engines/dreamweb/newplace.cpp
+++ b/engines/dreamweb/newplace.cpp
@@ -140,7 +140,7 @@ void DreamWebEngine::putUnderCentre() {
}
void DreamWebEngine::locationPic() {
- const int roomPics[] = { 5, 0, 3, 2, 4, 1, 10, 9, 8, 6, 11, 4, 7, 7, 0 };
+ const int roomPics[] = { 5, 0, 3, 2, 4, 1, 10, 9, 8, 6, 11, 4, 7, 7, 0, 0 };
byte picture = roomPics[_destPos];
if (picture >= 6)