TheGrandmother / cwg

CWG version awesome
GNU General Public License v3.0
0 stars 1 forks source link

Engine crash #29

Closed bjowes closed 9 years ago

bjowes commented 9 years ago

Run this board with dumb player against powerup player to reproduce. Occurs when player and redeemer exits board.

cwg15@cwg15-Team ~ $ cat engine_crash.txt x....p...$t... ..$.ptx..$.dxx .x..x$xpx.xx.. p........x.... $x...$.x.p.x.. .l$..xs...$... x..x.p........ x.....x$.$$.x. .xpx.$.x.....x x..p........r. ...x.x.$x...p. .x....p$.x....

TheGrandmother commented 9 years ago

Fixed!

This bug was introduced when redeemers started exploding when colliding with walls. Problem was that redeemer was removed when it moved of the board but it tried to decrement the timer after it had moved.