Skip to content

Commit

Permalink
dm render distance check on torch posts
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyler-Lentz committed Jun 6, 2024
1 parent e4078b1 commit c00b20e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lobby_name": "Hope you're doing well!",
"lobby_broadcast": true,
"max_players": 1,
"disable_dm": true,
"disable_dm": false,
"skip_intro": true
},
"client": {
Expand All @@ -25,6 +25,6 @@
"draw_bboxes": false,
"fps_counter": true,
"presentation": false,
"render": 50
"render": 75
}
}
4 changes: 3 additions & 1 deletion src/client/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,9 @@ void Client::geometryPass() {
sharedObject->type == ObjectType::Lava ||
sharedObject->type == ObjectType::ArrowTrap ||
sharedObject->type == ObjectType::SpikeTrap ||
sharedObject->type == ObjectType::Projectile ) && dist > this->config.client.render) {
sharedObject->type == ObjectType::Projectile ||
sharedObject->type == ObjectType::Torchlight) // dont render post from far away
&& dist > this->config.client.render) {
continue;
}

Expand Down

0 comments on commit c00b20e

Please sign in to comment.