From 11e77a9d65972c8e59aefd72419dfcf9036e9f6a Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Tue, 23 Sep 2014 00:13:05 +0200 Subject: Allow player movement --- src/view/MapView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/view') diff --git a/src/view/MapView.cpp b/src/view/MapView.cpp index 788cee9..33414ce 100644 --- a/src/view/MapView.cpp +++ b/src/view/MapView.cpp @@ -121,7 +121,7 @@ void MapView::render(float centerX, float centerY) { for (const std::shared_ptr &entity : map->getEntities()) { std::pair pos = entity->getPosition(); - Direction dir = entity->getDirection(); + Model::Direction dir = entity->getDirection(); SDL_Rect src = { .x = 16*dir, -- cgit v1.2.3