aboutsummaryrefslogtreecommitdiff
path: root/sdl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sdl.cpp')
-rw-r--r--sdl.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/sdl.cpp b/sdl.cpp
index 0913b1c000..ea86127d0e 100644
--- a/sdl.cpp
+++ b/sdl.cpp
@@ -776,10 +776,10 @@ void BoxTest(int num) {
Sint16 rx1[4], ry1[4];
scumm.getBoxCoordinates(num, &box);
- rx1[0] = box.ul.x*2; ry1[0] = box.ul.y*2;
- rx1[1] = box.ur.x*2; ry1[1] = box.ur.y*2;
- rx1[2] = box.lr.x*2; ry1[2] = box.lr.y*2;
- rx1[3] = box.ll.x*2; ry1[3] = box.ll.y*2;
+ rx1[0] = box.ul.x*2; ry1[0] = box.ul.y*2+32;
+ rx1[1] = box.ur.x*2; ry1[1] = box.ur.y*2+32;
+ rx1[2] = box.lr.x*2; ry1[2] = box.lr.y*2+32;
+ rx1[3] = box.ll.x*2; ry1[3] = box.ll.y*2+32;
filledPolygonColor(screen, &rx1[0], &ry1[0], 4, 255);
SDL_UpdateRect(screen, 0,0,0,0);