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
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
..
data
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
logs
This was SVN commit r5912.
2008-05-07 07:42:15 +00:00
system
Hide console window when launching atlas and actor viewer.
2008-07-13 04:57:16 +00:00