allcells no longer generates too long list in S2xE

This commit is contained in:
Zeno Rogue 2019-11-15 02:54:53 +01:00
parent d10a6d10b5
commit f70d7a4f27
1 changed files with 1 additions and 1 deletions

View File

@ -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;