diff --git a/server/gameserver/human.cc b/server/gameserver/human.cc index 5d55d60..7af3c70 100644 --- a/server/gameserver/human.cc +++ b/server/gameserver/human.cc @@ -1205,6 +1205,19 @@ void Human::FindLocation() void Human::RefreshView() { + #if 1 + room->grid_service->TraverseCreatures + ( + room->GetRoomIdx(), + GetGridList(), + [this] (Creature* c, bool& stop) + { + c->AddToNewObjects(this); + c->AddToPartObjects(this); + AddToNewObjects(c); + AddToPartObjects(c); + }); + #else TraverseAllLayerHumanList ( [this] (Human* hum, bool& stop) @@ -1214,6 +1227,7 @@ void Human::RefreshView() AddToNewObjects(hum); AddToPartObjects(hum); }); + #endif TraverseAllLayerEntityList ( [this] (Entity* entity, bool& stop)