fixing infinite growth

This commit is contained in:
Garrett Finucane 2014-08-19 00:04:50 -04:00
parent 43d6c60778
commit 45c082bdbc

View file

@ -106,7 +106,7 @@ function Block(fallingLane, color, iter, distFromHex, settled) {
p2 = rotatePoint((this.width / 2) * rat, this.height / 2, this.angle);
p3 = rotatePoint((this.widthWide / 2) * rat, -this.height / 2, this.angle);
p4 = rotatePoint((-this.widthWide / 2) * rat, -this.height / 2, this.angle);
if ((MainHex.ct - this.ict) == this.initLen) {
if ((MainHex.ct - this.ict) >= this.initLen) {
this.initializing = 0;
}
} else {