Browse Source

Merge pull request #878 from EgzoT/EgzoT-map_missile_bug

[Probable bug] Double use function onAppear
Eduardo Bart 3 years ago
parent
commit
aeb98810ed
No account linked to committer's email address
1 changed files with 0 additions and 1 deletions
  1. 0
    1
      src/client/map.cpp

+ 0
- 1
src/client/map.cpp View File

@@ -116,7 +116,6 @@ void Map::addThing(const ThingPtr& thing, const Position& pos, int stackPos)
116 116
     } else {
117 117
         if(thing->isMissile()) {
118 118
             m_floorMissiles[pos.z].push_back(thing->static_self_cast<Missile>());
119
-            thing->onAppear();
120 119
         } else if(thing->isAnimatedText()) {
121 120
             // this code will stack animated texts of the same color
122 121
             AnimatedTextPtr animatedText = thing->static_self_cast<AnimatedText>();

Loading…
Cancel
Save