aboutsummaryrefslogtreecommitdiff
path: root/engines/prince/graphics.cpp
diff options
context:
space:
mode:
authorlukaslw2014-06-05 16:42:33 +0200
committerlukaslw2014-06-22 20:08:40 +0200
commitc61ccb031956a61e8bb5804f267e945032989fcb (patch)
tree5bbb6ab5286fa35ccedef4f6cae9fa445bdc89a2 /engines/prince/graphics.cpp
parent854de5845bdcc44b00edeb74c1fd9e8bb1db089d (diff)
downloadscummvm-rg350-c61ccb031956a61e8bb5804f267e945032989fcb.tar.gz
scummvm-rg350-c61ccb031956a61e8bb5804f267e945032989fcb.tar.bz2
scummvm-rg350-c61ccb031956a61e8bb5804f267e945032989fcb.zip
PRINCE: hotspot() - name of mobs in wider locations fix, clean up
Diffstat (limited to 'engines/prince/graphics.cpp')
-rw-r--r--engines/prince/graphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/prince/graphics.cpp b/engines/prince/graphics.cpp
index bc15faf9a9..210b9d9ef9 100644
--- a/engines/prince/graphics.cpp
+++ b/engines/prince/graphics.cpp
@@ -116,7 +116,7 @@ void GraphicsMan::drawMask(Graphics::Surface *frontScreen, DrawNode *drawNode) {
if ((drawNode->data[tempMaskPostion] & maskCounter) != 0) {
byte orgPixel = *((byte*)drawNode->originalRoomSurface->getBasePtr(x + drawNode->posX, y + drawNode->posY));
*((byte*)frontScreen->getBasePtr(x + drawNode->posX, y + drawNode->posY)) = orgPixel;
- //*((byte*)frontScreen->getBasePtr(x + posX, y + posY)) = 0; // for debugging
+ //*((byte*)frontScreen->getBasePtr(x + drawNode->posX, y + drawNode->posY)) = 0; // for debugging
}
}
}