[Bug] [fixed] Hammer on low hp hog

Thank you for posting this demo.

The bug shown in this demo was that the hammer does not dig when hitting a hog with 0 hp (BEFORE the death animation has started).

I have investigated this bug and fixed it in 0b5aea8e5eab.

The new behavior is now:
- When you hit a 0 hp hog, the hammer will still dig
- But the hammer has NO effect on a hog if the "death" animation has started (this is intended, dying hedgehogs should never be affected by anything)

User login

Copyright © 2004-2021 Hedgewars Project. All rights reserved. [ contact ]