diff options
Diffstat (limited to 'src/view')
-rw-r--r-- | src/view/MapView.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<Model::Entity> &entity : map->getEntities()) { std::pair<float, float> pos = entity->getPosition(); - Direction dir = entity->getDirection(); + Model::Direction dir = entity->getDirection(); SDL_Rect src = { .x = 16*dir, |