diff --git a/server/gameserver/human.cc b/server/gameserver/human.cc index 2cb0f3f..bfeeb85 100644 --- a/server/gameserver/human.cc +++ b/server/gameserver/human.cc @@ -2330,11 +2330,11 @@ void Human::OnDisable() void Human::GetViewObjects(std::set& view_objects) { - TraverseAllLayerHumanList + TraverseCreatures ( - [&view_objects] (Human* hum, bool& stop) + [&view_objects] (Creature* c, bool& stop) { - view_objects.insert(hum); + view_objects.insert(c); }); TraverseAllLayerEntityList (