mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-30 17:27:57 +00:00
gmatrix now uses shiftmatrix_or_null which has an additional field if data is not yet computed -- this seems to fix some bugs in the new compilations of HyperRogue
This commit is contained in:
@@ -2040,8 +2040,8 @@ EX int debug_tiles;
|
||||
void celldrawer::bookkeeping() {
|
||||
bool orig = false;
|
||||
if(!inmirrorcount) {
|
||||
shiftmatrix& gm = gmatrix[c];
|
||||
orig = (gm[LDIM][LDIM] == 0) || hdist0(tC0(gm)) >= hdist0(tC0(V));
|
||||
auto& gm = gmatrix[c];
|
||||
orig = gm.is_null || hdist0(tC0(gm)) >= hdist0(tC0(V));
|
||||
if(orig) gm = V;
|
||||
current_display->all_drawn_copies[c].emplace_back(V);
|
||||
}
|
||||
|
Reference in New Issue
Block a user