aboutsummaryrefslogtreecommitdiffstats
path: root/src/components.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/components.cpp')
-rw-r--r--src/components.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components.cpp b/src/components.cpp
index c7069ce..f216cd2 100644
--- a/src/components.cpp
+++ b/src/components.cpp
@@ -53,8 +53,8 @@ void RenderSystem::update(entityx::EntityManager &en, entityx::EventManager &ev,
1.0, 0.0};
for (auto &S : sprite.sprite) {
- float width = S.first.size.x;
- float height = S.first.size.y;
+ float width = HLINES(S.first.size.x);
+ float height = HLINES(S.first.size.y);
vec2 loc = vec2(pos.x + S.first.offset.x, pos.y + S.first.offset.y);