sm00thslp / hedgewars

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

Birdy is drawn behind barrels and some other gear types, too #885

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a hand-drawn map with 2 horizontal lines close to each other (about 
three times of the height of a barrel)
2. Use a game scheme with no girders and land objects and infinite birdies and 
hog selectiongs
3. Start the game
4. Select a hedgehog at the lower level, get it in a position that birdy may 
have to fly “through” one of the barrels on the upper level if you activate 
it
5. Activate Birdy and look closely where it flies on the path to your hog
6. If Birdy flew “through” one the the barrels, you are done, else try 
again from step 4

What is the expected output? What do you see instead?
I expect Birdy to be drawn above the barrel, but actually the barrel is drawn 
over Birdy.

What version of the product are you using? On what operating system?
r173069dd7b17 on GNU/Linux.

Please provide any additional information below.
It may also happen with other gears. In my tests, Birdy is also drawn behind 
other hogs. It happens not only when Birdy is on its way to your hog, but while 
you fly with it, too. Maybe its a bit easier to test when using girders 
instead. I don’t know.

Original issue reported on code.google.com by almikes@aol.com on 21 Dec 2014 at 12:03