summaryrefslogtreecommitdiff
path: root/cRender.cpp
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2019-01-21 20:09:31 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2019-01-21 20:09:31 +0100
commitc1186bf65902f47a2d618280384bce700a688ec1 (patch)
tree929874db6fc5f74af1c607a2bceec9a3e056ed6b /cRender.cpp
parent57c9687d64a6e4f90276e93797758a875555a401 (diff)
downloadtermgl-c1186bf65902f47a2d618280384bce700a688ec1.tar.gz
a
Diffstat (limited to 'cRender.cpp')
-rw-r--r--cRender.cpp11
1 files 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)
{