diff options
author | tom <tom@ground-control> | 2015-05-08 08:07:11 -0500 |
---|---|---|
committer | tom <tom@ground-control> | 2015-05-08 08:07:11 -0500 |
commit | dddcaa7e5fa044972e25e456315c5cba361fc0f5 (patch) | |
tree | 299180915292000b2d5029888eb75178b81e8053 /src/entity.cpp | |
parent | 84f94931fa790572b3ce57d72e290f0bd860c661 (diff) | |
parent | c63d77ddddb69ef0f641d90a8c3922fdc356224c (diff) |
Merge branch 'master' of https://github.com/MajorTom6/natures
Conflicts:
src/list.cpp
Diffstat (limited to 'src/entity.cpp')
-rw-r--r-- | src/entity.cpp | 2 |
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); } |