diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/model/Map.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/model/Map.hpp b/src/model/Map.hpp index acf93b1..b8a8e18 100644 --- a/src/model/Map.hpp +++ b/src/model/Map.hpp @@ -148,6 +148,7 @@ public: static_cast<_Map>(*this) = std::move(other); entities = std::move(other.entities); + positions = std::move(other.positions); entityStates = std::move(other.entityStates); return *this; @@ -155,6 +156,7 @@ public: Map(Map &&other) : _Map(std::move(other)) { entities = std::move(other.entities); + positions = std::move(other.positions); entityStates = std::move(other.entityStates); } |