From 9cf563fa7f4059bfddd82efdaa89df2ed07a6d7c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 20 Oct 2013 18:11:57 +0300 Subject: Remove setMap from being constructor. --- src/being/being.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/being/being.cpp') 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 beingInfoCache; typedef std::map::const_iterator GuildsMapCIter; typedef std::map::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) -- cgit v1.2.3-70-g09d2