aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMatthew Hoops2011-10-27 19:20:02 -0400
committerMatthew Hoops2011-10-27 19:20:02 -0400
commit627684ca73833117425f3fd9d2257efb2157cb3c (patch)
tree1d88072ce28f55941320338e71ff98ce1f0d1805 /engines
parent1bd2480f5f3de254928bbf68127a219a04fb0158 (diff)
downloadscummvm-rg350-627684ca73833117425f3fd9d2257efb2157cb3c.tar.gz
scummvm-rg350-627684ca73833117425f3fd9d2257efb2157cb3c.tar.bz2
scummvm-rg350-627684ca73833117425f3fd9d2257efb2157cb3c.zip
GRAPHICS: Make drawThickLine take a thickness in both x and y directions
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/he/wiz_he.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/scumm/he/wiz_he.cpp b/engines/scumm/he/wiz_he.cpp
index f67922c81c..3995aba64e 100644
--- a/engines/scumm/he/wiz_he.cpp
+++ b/engines/scumm/he/wiz_he.cpp
@@ -2286,8 +2286,7 @@ void Wiz::fillWizLine(const WizParameters *params) {
lineP.depth = bitDepth;
if (params->processFlags & kWPFParams) {
- assert (params->params2 == 1); // Catch untested usage
- Graphics::drawThickLine(x1, y1, x2, y2, params->params1, color, drawProc, &lineP);
+ Graphics::drawThickLine(x1, y1, x2, y2, params->params1, params->params2, color, drawProc, &lineP);
} else {
Graphics::drawLine(x1, y1, x2, y2, color, drawProc, &lineP);
}