aboutsummaryrefslogtreecommitdiff
path: root/scumm/wiz_he.cpp
diff options
context:
space:
mode:
authorTravis Howell2006-01-29 08:12:32 +0000
committerTravis Howell2006-01-29 08:12:32 +0000
commita863c37b0d9a5d3a4b3c14539d0d3792d958fbda (patch)
tree56d4fa7dce178355d4913e13dbb480b2ab235046 /scumm/wiz_he.cpp
parent0f510a2a626b49d347f96d4a6701f05c2a921629 (diff)
downloadscummvm-rg350-a863c37b0d9a5d3a4b3c14539d0d3792d958fbda.tar.gz
scummvm-rg350-a863c37b0d9a5d3a4b3c14539d0d3792d958fbda.tar.bz2
scummvm-rg350-a863c37b0d9a5d3a4b3c14539d0d3792d958fbda.zip
Variables no longer used.
svn-id: r20293
Diffstat (limited to 'scumm/wiz_he.cpp')
-rw-r--r--scumm/wiz_he.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/scumm/wiz_he.cpp b/scumm/wiz_he.cpp
index f640f3283b..42cbd302ba 100644
--- a/scumm/wiz_he.cpp
+++ b/scumm/wiz_he.cpp
@@ -1256,8 +1256,8 @@ void Wiz::drawWizPolygonTransform(int resNum, int state, Common::Point *wp, int
bbox[3].y = wizH - 1;
int16 xmin_p, xmax_p, ymin_p, ymax_p;
- xmin_p = ymin_p = 1234;
- xmax_p = ymax_p = -1234;
+ xmin_p = ymin_p = 12345;
+ xmax_p = ymax_p = -12345;
for (i = 0; i < 4; ++i) {
xmin_p = MIN(wp[i].x, xmin_p);
@@ -1270,12 +1270,6 @@ void Wiz::drawWizPolygonTransform(int resNum, int state, Common::Point *wp, int
printf("Invalid coords polygon x %d y %d x2 %d y2 %d\n", xmin_p, ymax_p, xmax_p, ymax_p);
}
- int16 xmin_b, xmax_b, ymin_b, ymax_b;
- xmin_b = 0;
- xmax_b = wizW - 1;
- ymin_b = 0;
- ymax_b = wizH - 1;
-
PolygonDrawData pdd(ymax_p - ymin_p + 1);
pdd.pto.x = xmin_p;
pdd.pto.y = ymin_p;