1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 14:37:16 +00:00

product:: correct walls in Archimedean

This commit is contained in:
Zeno Rogue 2019-08-19 11:11:30 +02:00
parent 23f9736722
commit 123a972261

View File

@ -650,7 +650,7 @@ EX namespace product {
}
EX int wall_offset(cell *c) {
int id = shvid(c);
int id = underlying == gArchimedean ? arcm::id_of(c->master) + 20 * arcm::parent_index_of(c->master) : shvid(c);
if(isize(cgi.walloffsets) <= id) cgi.walloffsets.resize(id+1, -1);
int &wo = cgi.walloffsets[id];
if(wo == -1) {