summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorjacksonmj <mj-pt@jacksonmj.co.uk>2012-06-09 10:49:10 (GMT)
committer jacksonmj <mj-pt@jacksonmj.co.uk>2012-06-09 11:37:52 (GMT)
commit601766a3a0a596ef125c5d59510649178281ca8e (patch)
treebe626a634ca2d3cbde62f00ef353576f8c538994 /src/main.c
parent5d4c21d83b0a9120afe67e66aea9a421bc001307 (diff)
downloadpowder-601766a3a0a596ef125c5d59510649178281ca8e.zip
powder-601766a3a0a596ef125c5d59510649178281ca8e.tar.gz
Run stacking check less often
But force it to be run after loading a save so that really extreme numbers of stacked particles form BHOL immediately
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index b181182..967df06 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1734,6 +1734,8 @@ int main(int argc, char *argv[])
bmap[cby][cbx] = cb_bmap[cby][cbx];
emap[cby][cbx] = cb_emap[cby][cbx];
}
+
+ force_stacking_check = 1;//check for excessive stacking of particles next time update_particles is run
}
}
#ifdef INTERNAL