diff --git a/multigame.cpp b/multigame.cpp index 2fc692ce..129e0710 100644 --- a/multigame.cpp +++ b/multigame.cpp @@ -179,8 +179,7 @@ EX namespace dual { dynamicval dm(dual::state, 2); int cg = currently_loaded; - bool orbusedbak[ittypes]; - for(int i=0; i orbused; +EX array lastorbused; EX bool markOrb(eItem it) { if(!items[it]) return false; @@ -314,6 +315,7 @@ EX bool distanceBound(cell *c1, cell *c2, int d) { EX void checkFreedom(cell *cf) { manual_celllister cl; + dynamicval d(orbused); cl.add(cf); for(int i=0; i