summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
{