Page 2 of 2

Re: huge feature's collision goin wrong

Posted: 10 Sep 2011, 15:32
by knorke
if it works it is good.
i would have done the

Code: Select all

local hor_b_d = true --dead? to prevent recursion, but still could be better prevention?
part a bit different but dont see any major mistakes with it.

you actually do not have to declare variables in Lua like ie local defID if you are only going to use them much further down. Matter of taste I guess.

Re: huge feature's collision goin wrong

Posted: 10 Sep 2011, 15:53
by wolas
Well it is true since there a lot of checks when it must be true so I dont have to do !false. If nobody see's any major flaws will release map sunday I think.