mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 21:07:17 +00:00
fixed Goldberg hybrid spaces
This commit is contained in:
parent
470c4aed3d
commit
58a4583bb7
@ -1278,6 +1278,11 @@ EX namespace hybrid {
|
|||||||
}
|
}
|
||||||
|
|
||||||
EX int wall_offset(cell *c) {
|
EX int wall_offset(cell *c) {
|
||||||
|
if(GOLDBERG) {
|
||||||
|
/* a bit slow... */
|
||||||
|
cell *c1 = get_where(c).first;
|
||||||
|
gp::draw_li = PIU(gp::get_local_info(c1));
|
||||||
|
}
|
||||||
int id = hybrid::underlying == gArchimedean ? arcm::id_of(c->master) + 20 * arcm::parent_index_of(c->master) : shvid(c);
|
int id = hybrid::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, nullptr});
|
if(isize(cgi.walloffsets) <= id) cgi.walloffsets.resize(id+1, {-1, nullptr});
|
||||||
auto &wop = cgi.walloffsets[id];
|
auto &wop = cgi.walloffsets[id];
|
||||||
|
Loading…
Reference in New Issue
Block a user