From c1186bf65902f47a2d618280384bce700a688ec1 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Mon, 21 Jan 2019 20:09:31 +0100 Subject: a --- cRender.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/cRender.cpp b/cRender.cpp index 1b3b08d..293901b 100644 --- a/cRender.cpp +++ b/cRender.cpp @@ -124,13 +124,14 @@ int cRender::drawLine(char _c, sPos _pos1, sPos _pos2, bool _overrideCollision, sPos{i + _pos1.x, (int)(i * fGradient + _pos1.y + 0.5)}, sPos{i + _pos1.x, (int)(i * fGradient + _pos1.y + 0.5) + dy}, _overrideCollision, _color); - } - } - } - } + }//if + }//if + + }//for + }//else return 0; -} +}//drawLine int cRender::drawText(string _s, sPos _pos, WORD _color) { -- cgit v1.2.3