diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-20 18:11:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-20 18:11:57 +0300 |
commit | 9cf563fa7f4059bfddd82efdaa89df2ed07a6d7c (patch) | |
tree | 172ff032c6d811f6f903b31413840691bd43254e /src/actormanager.cpp | |
parent | 13abfc42956e176c9779ee41fddc95a4b85cb389 (diff) | |
download | manaplus-9cf563fa7f4059bfddd82efdaa89df2ed07a6d7c.tar.gz manaplus-9cf563fa7f4059bfddd82efdaa89df2ed07a6d7c.tar.bz2 manaplus-9cf563fa7f4059bfddd82efdaa89df2ed07a6d7c.tar.xz manaplus-9cf563fa7f4059bfddd82efdaa89df2ed07a6d7c.zip |
Remove setMap from being constructor.
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r-- | src/actormanager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/actormanager.cpp b/src/actormanager.cpp index f37cc9a18..694b1de36 100644 --- a/src/actormanager.cpp +++ b/src/actormanager.cpp @@ -238,8 +238,8 @@ Being *ActorManager::createBeing(const int id, const ActorSprite::Type type, const uint16_t subtype) { - Being *const being = new Being(id, type, subtype, mMap); - + Being *const being = new Being(id, type, subtype); + being->setMap(mMap); mActors.insert(being); return being; } |