summaryrefslogtreecommitdiff
path: root/src/entity.cpp
diff options
context:
space:
mode:
authordakjos <dsojka@siu.edu>2015-05-07 19:53:39 -0500
committerdakjos <dsojka@siu.edu>2015-05-07 19:53:39 -0500
commitc63d77ddddb69ef0f641d90a8c3922fdc356224c (patch)
tree6867ee8ee11718eca9bb144b98f17c695a891495 /src/entity.cpp
parentffcee12acf3fe3f972f322c18b3203212682205d (diff)
Some variable names changed and many comments made so I understand what the fuck is going on
Diffstat (limited to 'src/entity.cpp')
-rw-r--r--src/entity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entity.cpp b/src/entity.cpp
index f7e8857..10a3ccc 100644
--- a/src/entity.cpp
+++ b/src/entity.cpp
@@ -2,7 +2,7 @@
void Entity::Place()
{
- SDL_Rect rect = {x, y, width/8, height/8};
+ SDL_Rect rect = {xPosition, yPosition, width/8, height/8};
SDL_RenderCopyEx(renderer,texture,NULL,&rect,degrees,NULL,SDL_FLIP_NONE);
}