From d82f3b7665435abefe84c8dbc16483acd235b478 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 25 Sep 2014 20:53:17 +0200 Subject: Move external entity state from Entity to Map --- src/control/MapContext.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/control/MapContext.hpp') diff --git a/src/control/MapContext.hpp b/src/control/MapContext.hpp index a60bdfc..d9c34f3 100644 --- a/src/control/MapContext.hpp +++ b/src/control/MapContext.hpp @@ -54,7 +54,7 @@ private: void keyPressed(uint16_t key, uint64_t time); Model::Position getViewPosition(uint64_t time) { - return playerEntity->getPosition(time); + return map.getEntityPosition(playerEntity, time); } public: -- cgit v1.2.3