Skip to content
Snippets Groups Projects
Commit da52ba82 authored by mcmlxxix's avatar mcmlxxix
Browse files

DrawLine() will no longer attempt to draw in row 24 column 80

parent 48c53c58
No related branches found
No related tags found
No related merge requests found
......@@ -72,6 +72,7 @@ function PrintPadded(string,length,padding,justification)
function DrawLine(x,y,length,color)
{
console.gotoxy(x,y);
if(y==24) while(x+length>80) length-=1;
for(i=0;i<length;i++)
{
console.putmsg((color?color:"\1k\1h") + "\xc4");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment