修复 12 1008地图,上面2个坐骑始终未显示
This commit is contained in:
parent
0bbf83d6a3
commit
21e9cf1b43
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user