EchoLiao / hedgewars

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

Cake ignores bouncy and wrap-around map borders #856

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a wacky map, of the “cave” type (those three horizontal 
“lines”)
2. Start a game with infinite cakes and a wrap-around border
3. Get a hedgehog near the border and face the border
4. Start a cake and let it walk. Watch closely *where* it walks
5. Repeat 1-3, but this time replace step 2 with “Start a game with infinite 
cakes and a bouncy border”

What is the expected output? What do you see instead?
For wrap-around borders, I would expect the cake walks through to the other 
side, just like hedgehogs do.
Actually, the cake always stays on the side of the map where it has been 
started. When it approaches the border, kt never actually passes the border, 
instead, it will walk down, along the border and it appears as if the cake is 
walking *through* the terrain. This is really odd and unexpected.

For bouncy borders, this is practically the same. Unlike anything else, the 
cake completely ignores the border, walks right through it and behaves like in 
the first case. The cake is thus able to walk from one level to the other.

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

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