1
This commit is contained in:
parent
f5d9dbfe46
commit
62e659e4b2
@ -2330,11 +2330,11 @@ void Human::OnDisable()
|
||||
|
||||
void Human::GetViewObjects(std::set<Entity*>& 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
|
||||
(
|
||||
|
Loading…
x
Reference in New Issue
Block a user