roman-murashov / hedgewars

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

Manual placement animation is drawn twice #828

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Reproduction steps:
1. Make sure manual placement is activated in game scheme
2. Start match
3. Place hedgehogs

Expected outcome:
The teleportation animation is drawn where the hedgehog is placed, but nowhere 
else.

Actual outcome:
The teleportation animation is drawn where the hedgehog is placed but also at 
the top left position of the map.

Tested in 0.9.20 under GNU/Linux.

Here you can download a demo for 0.9.20 which demonstrates the bug:
http://www.hedgewars.org/files/demos/Wuzzy/Double_Teleport_Animation_Bug.47.hwd

At the beginning, 2 hedgehogs are placed by the manual placement method. After 
that, some ordinary teleportations happen. In my Hedgewars, the normal teleport 
does not cause the graphical glitch, only the manual placement does.

Original issue reported on code.google.com by almikes@aol.com on 23 Nov 2014 at 3:29

GoogleCodeExporter commented 8 years ago
This is one of those minor visual things, and is related to the fact that the 
hog is positioned there, but not drawn.
We could prevent the animation I 'spose.  Don't think putting the hogs even 
further away is a good idea.

Original comment by kyberneticist@gmail.com on 23 Nov 2014 at 6:42

GoogleCodeExporter commented 8 years ago
fixed in rcc439790ebae9a881aebeda8c2ed4a1ca646bb71

thank you for reporting :)

Original comment by sheepyluva on 24 Nov 2014 at 7:47