roman-murashov / hedgewars

Automatically exported from code.google.com/p/hedgewars
GNU General Public License v2.0
0 stars 0 forks source link

Using blowtorch to dig through the wrap-around border in caves fails miserably #852

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create any cave map
2. Start a game with wrap-around turned on, infinite blowtorch and optionally 
infinite attacks (for convenience)
3. Get a hedgehog near the border of the map
4. Use the blowtorch and move through the border

What is the expected output? What do you see instead?
I expect that the hedgehog is continuing digging through, appears on the other 
side and no other weird things happen.
But actually, as soon as the hedgehog, while digging, passed through the 
border, will face the opposite direction, will still move in the same direction 
but won’t destroy any terrain anymore. As soon as the digging is finished, 
the hedgehog is stuck in the landscape. Any attempt to move the hedgehog will 
cause the hedgehog to fall. An attempt to activate another blowtorch will also 
cause the hedgehog to fall down.

What version of the product are you using? On what operating system?
I use GNU/Linux and can reproduce this in Git f488421…

Please provide any additional information below.
This is part of a series of weird things which happen near the border in 
wrap-around worlds.

Original issue reported on code.google.com by almikes@aol.com on 10 Dec 2014 at 6:20

GoogleCodeExporter commented 8 years ago
Thanks for reporting ^^

Fixed in rfddbab2eecea (still a bit glitchy, but not failing miserably at least)

Original comment by sheepyluva on 15 Dec 2014 at 2:31