From ff33c5c367e15df32862887fc8c2c53817e4713f Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Wed, 17 Apr 2013 21:14:04 +0200 Subject: DREAMWEB: Make location array sizes more consistent While location 15 doesn't actually exist, this makes roomPics more consistent with the roomsCanGo array. --- engines/dreamweb/newplace.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/dreamweb') 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) -- cgit v1.2.3