diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-09-24 01:38:30 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-09-24 01:38:30 +0200 |
commit | ea8840291cdf66784c6a2cb465b63ccfb5483c38 (patch) | |
tree | 0ab1e059c3b798d27f8d9a15816c7beb0dd236e8 /src/model/Map.hpp | |
parent | 24ae84861379f2f878804b53a457153ad1ad6c1e (diff) | |
download | rpgedit-ea8840291cdf66784c6a2cb465b63ccfb5483c38.tar rpgedit-ea8840291cdf66784c6a2cb465b63ccfb5483c38.zip |
New event-driven goodness
Diffstat (limited to 'src/model/Map.hpp')
-rw-r--r-- | src/model/Map.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/model/Map.hpp b/src/model/Map.hpp index 5d6ba01..9d4eded 100644 --- a/src/model/Map.hpp +++ b/src/model/Map.hpp @@ -67,8 +67,8 @@ public: return entities; } - Entity & getPlayerEntity() const { - return *playerEntity; + const std::shared_ptr<Entity> & getPlayerEntity() const { + return playerEntity; } size_t getWidth() const { |