- removed ZScript DrawLine palcolor arg
This commit is contained in:
parent
941d89042a
commit
03640a16ea
2 changed files with 2 additions and 3 deletions
|
|
@ -966,9 +966,8 @@ DEFINE_ACTION_FUNCTION(_Screen, DrawLine)
|
|||
PARAM_INT(x1);
|
||||
PARAM_INT(y1);
|
||||
PARAM_INT(color);
|
||||
PARAM_INT_DEF(palcol);
|
||||
if (!screen->HasBegun2D()) ThrowAbortException(X_OTHER, "Attempt to draw to screen outside a draw function");
|
||||
screen->DrawLine(x0, y0, x1, y1, palcol, color);
|
||||
screen->DrawLine(x0, y0, x1, y1, -1, color);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue