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:
parent
54971828da
commit
f196d706a6
@ -637,7 +637,7 @@ EX void configure_track(bool gen) {
|
|||||||
|
|
||||||
for(auto cc: rti) if(blockoff(cc)) to_block.push_back(cc.c);
|
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;
|
forCellEx(c2, c) if(passable(c2, c, P_ISPLAYER) && !blockoff(get_info(c2))) return true;
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user