This website requires JavaScript.
Explore
Technical Docs
0 A.D. Website
Forums
Help
Register
Sign In
abian
/
0ad
Watch
1
Star
0
Fork
0
You've already forked 0ad
forked from
0ad/0ad
Code
Pull Requests
Activity
d0c6805725
0ad
/
binaries
/
data
/
mods
History
Matei
d0c6805725
Fixed bug that was causing population to go negative. It was due to a unit being killed by multiple enemies in the same frame, which led to multiple calls of the death event handler. The fix is twofold: First, kill() only calls the event handler the first time the unit is killed. Second, damage() (in JS), which apart from killing things also loots them, makes sure that the unit is not already being destroyed. This latter fix is to ensure that we don't get a huge amount of loot by simply attacking a low-HP unit with many soldiers simultaneously, so they kill it in the same frame.
...
This was SVN commit r6276.
2008-07-24 05:50:45 +00:00
..
_test.dae
/art
Added binaries and some example data for COLLADA conversion.
2007-03-01 22:34:38 +00:00
_test.minimal
# Fixed skeletal animation algorithm.
2006-12-15 16:09:30 +00:00
_test.xero
* Moved command-line options list from system.cfg into readme.txt. Updated the list to reflect reality. Removed -novbo option because you can use the .cfg file instead.
2006-12-20 03:09:21 +00:00
official
Fixed bug that was causing population to go negative. It was due to a unit being killed by multiple enemies in the same frame, which led to multiple calls of the death event handler. The fix is twofold: First, kill() only calls the event handler the first time the unit is killed. Second, damage() (in JS), which apart from killing things also loots them, makes sure that the unit is not already being destroyed. This latter fix is to ensure that we don't get a huge amount of loot by simply attacking a low-HP unit with many soldiers simultaneously, so they kill it in the same frame.
2008-07-24 05:50:45 +00:00