mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 09:30:35 +00:00
allcells no longer generates too long list in S2xE
This commit is contained in:
parent
d10a6d10b5
commit
f70d7a4f27
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() {
|
vector<cell*>& hrmap::allcells() {
|
||||||
static vector<cell*> default_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);
|
celllister cl(gamestart(), 1000000, 1000000, NULL);
|
||||||
default_allcells = cl.lst;
|
default_allcells = cl.lst;
|
||||||
return default_allcells;
|
return default_allcells;
|
||||||
|
Loading…
Reference in New Issue
Block a user