1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-19 23:30:25 +00:00

racing:: don't block cells on load

This commit is contained in:
Zeno Rogue 2022-06-16 23:23:29 +02:00
parent 54971828da
commit f196d706a6

View File

@ -637,7 +637,7 @@ EX void configure_track(bool gen) {
for(auto cc: rti) if(blockoff(cc)) to_block.push_back(cc.c);
block_cells(to_block, [&blockoff] (cell *c) {
if(gen) block_cells(to_block, [&blockoff] (cell *c) {
forCellEx(c2, c) if(passable(c2, c, P_ISPLAYER) && !blockoff(get_info(c2))) return true;
return false;
});