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/being/being.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/being/being.cpp')
-rw-r--r-- | src/being/being.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp index fdd706bbe..4745f516e 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -99,8 +99,7 @@ std::list<BeingCacheEntry*> beingInfoCache; typedef std::map<int, Guild*>::const_iterator GuildsMapCIter; typedef std::map<int, int>::const_iterator IntMapCIter; -Being::Being(const int id, const Type type, const uint16_t subtype, - Map *const map) : +Being::Being(const int id, const Type type, const uint16_t subtype) : ActorSprite(id), mNextSound(), mInfo(BeingInfo::unknown), @@ -190,7 +189,6 @@ Being::Being(const int id, const Type type, const uint16_t subtype, mSpriteHide[f] = 0; } - setMap(map); setSubtype(subtype, 0); if (mType == PLAYER) |