From 4a8b842110c6c0e521ae440fa08718627f077b0a Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Wed, 21 Jul 2021 08:26:53 +0000 Subject: [PATCH] 1 --- server/gameserver/creature.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/gameserver/creature.cc b/server/gameserver/creature.cc index f254822..38224cc 100644 --- a/server/gameserver/creature.cc +++ b/server/gameserver/creature.cc @@ -1898,6 +1898,9 @@ void Creature::SummonObstacle(Buff* buff, int id, const a8::Vec2& pos) obstacle->Active(); obstacle->context_ability = context_ability; slave_things_.push_back(std::make_tuple(buff->meta->i->buff_id(), obstacle)); +#ifdef DEBUG + SendDebugMsg(a8::Format("召唤物件 buff_id:%d thing_id:%d", {buff->meta->i->buff_id(), id})); +#endif } else { abort(); }