diff --git a/server/gameserver/creature.cc b/server/gameserver/creature.cc index d21a3b2..d7c2f7c 100644 --- a/server/gameserver/creature.cc +++ b/server/gameserver/creature.cc @@ -1493,7 +1493,7 @@ CreatureWeakPtr Creature::AllocWeakPtr() CreatureWeakPtr& Creature::GetWeakPtrRef() { - if (weak_ptr_.Get()) { + if (!weak_ptr_.Get()) { weak_ptr_.Attach(this); } return weak_ptr_;