Skip to content

Commit

Permalink
Fix findspawn
Browse files Browse the repository at this point in the history
auto
  • Loading branch information
proller committed Dec 6, 2023
1 parent f51c52c commit c8b565f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ Changelog
### 5.7.0.0 (?)
* Tree growth
* Weather tuned
* Multi protocol network: `cmake -DUSE_MULTI=1` one server for minetest/websocket/enet/sctp clients
* Added websocket protocol for serve emscripten builds without proxy `cmake -DENABLE_WEBSOCKET=1`


### 5.6.1.0 (?)
Expand Down
1 change: 1 addition & 0 deletions src/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4250,6 +4250,7 @@ v3f Server::findSpawnPos()
v3bpos_t blockpos = getNodeBlockPos(nodepos);
if (!map.emergeBlock(blockpos, false)) {
nodeposf = intToFloat(nodepos, BS);
is_good = true;
break;
}
content_t c = map.getNode(nodepos).getContent();
Expand Down
7 changes: 5 additions & 2 deletions util/autotest/auto.pl
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,8 @@ ()
#enable_mapgen_debug_info => 1,
},
bot => {
fps_max => 30,
fps_max => 10,
fps_max_unfocused => 10,
},
bot_random => {
random_input => 1,
Expand All @@ -224,7 +225,8 @@ ()
enable_shaders => 0,
},
headless_optimize => {
fps_max => 10,
fps_max => 5,
fps_max_unfocused => 5,
headless_optimize => 1,
},
software => {
Expand Down Expand Up @@ -323,6 +325,7 @@ ()
},
fps1 => {
fps_max => 2,
fps_max_unfocused => 2,
viewing_range => 1000,
#viewing_range_max => 1000,
wanted_fps => 1,
Expand Down

0 comments on commit c8b565f

Please sign in to comment.