Merge pull request #878 from EgzoT/EgzoT-map_missile_bug

[Probable bug] Double use function onAppear
这个提交包含在:
Eduardo Bart 2017-11-04 11:08:37 -02:00 提交者 GitHub
当前提交 aeb98810ed
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 0 次插入1 次删除

查看文件

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