aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/scenes
diff options
context:
space:
mode:
authorEugene Sandulenko2016-09-20 23:03:10 +0200
committerEugene Sandulenko2016-09-20 23:03:10 +0200
commit25f13b5dab0948c9934f5fcbabb5f84f9c9072aa (patch)
tree75d6f4551eb7ef59fb2f204755cae20716e27b01 /engines/fullpipe/scenes
parent9e505ba49c55fae0910e3a99886adb0158f6ef45 (diff)
downloadscummvm-rg350-25f13b5dab0948c9934f5fcbabb5f84f9c9072aa.tar.gz
scummvm-rg350-25f13b5dab0948c9934f5fcbabb5f84f9c9072aa.tar.bz2
scummvm-rg350-25f13b5dab0948c9934f5fcbabb5f84f9c9072aa.zip
FULLPIPE: Fix Debug screen functionality
Diffstat (limited to 'engines/fullpipe/scenes')
-rw-r--r--engines/fullpipe/scenes/sceneDbg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/fullpipe/scenes/sceneDbg.cpp b/engines/fullpipe/scenes/sceneDbg.cpp
index bd53f5749f..9df8c2766b 100644
--- a/engines/fullpipe/scenes/sceneDbg.cpp
+++ b/engines/fullpipe/scenes/sceneDbg.cpp
@@ -42,7 +42,7 @@ void sceneDbgMenu_initScene(Scene *sc) {
GameObject *sceneHandlerDbgMenu_getObjectAtXY(int x, int y) {
if (g_fp->_currentScene)
- for (uint i = 0; i < g_fp->_currentScene->_picObjList.size(); i++) {
+ for (uint i = 1; i < g_fp->_currentScene->_picObjList.size(); i++) {
PictureObject *pic = (PictureObject *)g_fp->_currentScene->_picObjList[i];
if (x >= pic->_ox && y >= pic->_oy) {