This commit is contained in:
aozhiwei 2020-07-07 13:22:11 +08:00
parent acc2812c24
commit 0f7988ddc8

View File

@ -27,7 +27,7 @@ cs::SMUpdate* FrameMaker::MakeUpdateMsg(const Human* hum)
continue;
} else {
}
if (((Human*)hum)->GetPos().ManhattanDistance(entity->GetPos()) > VIEW_RANGE) {
if (((Human*)hum)->GetPos().ManhattanDistance(entity->GetPos()) > VIEW_RANGE + 100) {
continue;
}
entity->FillMFObjectPart(room, (Human*)hum, msg->add_part_objects());