mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-24 04:54:04 +00:00
allcells no longer generates too long list in S2xE
This commit is contained in:
2
cell.cpp
2
cell.cpp
@@ -102,7 +102,7 @@ transmatrix hrmap::adj(cell *c, int i) { return calc_relative_matrix(c->cmove(i)
|
||||
|
||||
vector<cell*>& hrmap::allcells() {
|
||||
static vector<cell*> default_allcells;
|
||||
if(bounded && !(cgflags & qHUGE_BOUNDED)) {
|
||||
if(bounded && !(cgflags & qHUGE_BOUNDED) && !(prod && product::csteps == 0)) {
|
||||
celllister cl(gamestart(), 1000000, 1000000, NULL);
|
||||
default_allcells = cl.lst;
|
||||
return default_allcells;
|
||||
|
Reference in New Issue
Block a user