From 084d556f831832c1ca15d1e7cd52944815d9beea Mon Sep 17 00:00:00 2001 From: tom Date: Mon, 2 May 2016 16:21:23 -0500 Subject: implemented the location fully into entity --- src/entity.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/entity.cpp') diff --git a/src/entity.cpp b/src/entity.cpp index 10a3ccc..909dd15 100644 --- a/src/entity.cpp +++ b/src/entity.cpp @@ -2,7 +2,7 @@ void Entity::Place() { - SDL_Rect rect = {xPosition, yPosition, width/8, height/8}; + SDL_Rect rect = {L.x, L.y, width/8, height/8}; SDL_RenderCopyEx(renderer,texture,NULL,&rect,degrees,NULL,SDL_FLIP_NONE); } -- cgit v1.2.3