aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v80he.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/script_v80he.cpp')
-rw-r--r--scumm/script_v80he.cpp16
1 files changed, 1 insertions, 15 deletions
diff --git a/scumm/script_v80he.cpp b/scumm/script_v80he.cpp
index df3a833c6a..01fe275f76 100644
--- a/scumm/script_v80he.cpp
+++ b/scumm/script_v80he.cpp
@@ -251,7 +251,7 @@ void ScummEngine_v80he::setupOpcodes() {
/* A4 */
OPCODE(o72_arrayOps),
OPCODE(o6_invalid),
- OPCODE(o80_drawBox),
+ OPCODE(o6_drawBox),
OPCODE(o6_pop),
/* A8 */
OPCODE(o6_getActorWidth),
@@ -590,20 +590,6 @@ void ScummEngine_v80he::o80_setState() {
removeObjectFromDrawQue(obj);
}
-void ScummEngine_v80he::o80_drawBox() {
- int x, y, x2, y2, color;
- color = pop();
- y2 = pop();
- x2 = pop();
- y = pop();
- x = pop();
-
- if (color & 0x8000)
- color &= 0x7FFF;
-
- drawBox(x, y, x2, y2, color);
-}
-
void ScummEngine_v80he::o80_drawWizPolygon() {
WizImage wi;
wi.x1 = wi.y1 = pop();