Page 1 of 1

Growing steel walls are destroyable for some reason

Posted: Mon Jan 23, 2023 12:27 pm
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 2715 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 2715 times

Re: Growing steel walls are destroyable for some reason

Posted: Mon Jan 23, 2023 1:03 pm
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!

Re: Growing steel walls are destroyable for some reason

Posted: Mon Jan 23, 2023 11:30 pm
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!