summaryrefslogtreecommitdiff
path: root/src/entity.cpp
diff options
context:
space:
mode:
authortom <tom@ground-control>2016-05-02 16:29:28 -0500
committertom <tom@ground-control>2016-05-02 16:29:28 -0500
commiteac63735fb84ba3b59b5fc887d959e1492ef246d (patch)
treef5feb17bb2cf4e909b349c154a74a396e3b7fa97 /src/entity.cpp
parent084d556f831832c1ca15d1e7cd52944815d9beea (diff)
spring cleaning
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 909dd15..4f60851 100644
--- a/src/entity.cpp
+++ b/src/entity.cpp
@@ -6,7 +6,7 @@ void Entity::Place()
SDL_RenderCopyEx(renderer,texture,NULL,&rect,degrees,NULL,SDL_FLIP_NONE);
}
-SDL_Texture* Entity::loadTexture(std::string path, Window main)
+SDL_Texture* Entity::loadTexture(string path, Window main)
{
SDL_Surface* surface = IMG_Load(path.c_str());
SDL_SetColorKey(surface, SDL_TRUE, SDL_MapRGB(surface->format, 255, 255, 255));