1
This commit is contained in:
parent
3ce9e75986
commit
cb1613d162
@ -27,6 +27,9 @@ cs::SMUpdate* FrameMaker::MakeUpdateMsg(const Human* hum)
|
||||
continue;
|
||||
} else {
|
||||
}
|
||||
if (((Human*)hum)->GetPos().ManhattanDistance(entity->GetPos()) > VIEW_RANGE) {
|
||||
continue;
|
||||
}
|
||||
entity->FillMFObjectPart(room, (Human*)hum, msg->add_part_objects());
|
||||
}
|
||||
for (auto& itr : hum->del_objects) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user