Growing steel walls are destroyable for some reason

Found a bug in R'n'D? Report it here!

Moderators: Flumminator, Zomis

Post Reply
User avatar
Eizzoux
Posts: 567
Joined: Wed Oct 30, 2013 5:32 am
Location: Russia
Contact:

Growing steel walls are destroyable for some reason

Post by Eizzoux »

When expandable steel walls haven't spread anywhere and are completely static, they can't be blown up, which is, of course, fine.
jsfjsdbfjh.png
jsfjsdbfjh.png (65.01 KiB) Viewed 2488 times


But when you let it spread and try to blow it up now, for some reason it will be actually destructible.
jsfjsdbfjh1.png
jsfjsdbfjh1.png (66.22 KiB) Viewed 2488 times
𒈟
User avatar
Holger
Site Admin
Posts: 4073
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Re: Growing steel walls are destroyable for some reason

Post by Holger »

Argh, indeed. Just checked it -- this bug was accidentally introduced by an apparently harmless "code cleanup" commit last summer (commit 4b754efd) that in fact messed up which game element was placed in the playfield after the wall has been completely expanded into the next tile. (You can easily check this by forcing a redraw of that part of the playfield by moving back and forth, bringing the affected walls back into the visible screen area, then showing that it really created normal wall, which can be destroyed.)

Apparently none of my many "unit test" tapes did show up this regression. I will fix this as soon as possible!
User avatar
Holger
Site Admin
Posts: 4073
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Re: Growing steel walls are destroyable for some reason

Post by Holger »

Fixed now! It really was a very small (only one line) bug, but with a big (and nasty) effect.

Thanks a lot for reporting this really horrible bug!
Post Reply