This website requires JavaScript.
Explore
Help
Sign In
mirrors
/
0ad
Watch
1
Star
0
Fork
2
You've already forked 0ad
mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced
2026-07-12 23:54:57 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
837ef022bdc94eeb2d4a4b0744488dc775f6bd27
0ad
/
source
T
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
..
collada
…
dcdt
/se
…
graphics
…
gui
…
i18n
…
lib
…
maths
…
network
Made stance-setting work with multiplayer.
2008-07-24 05:25:14 +00:00
pch
…
ps
Added active field to players to check whether the player is a human or CPU.
2008-07-23 05:21:57 +00:00
renderer
…
scripting
…
simulation
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
sound
fix error handling - ensure SoundGroup doesn't crash when sound loading fails (previously it was only handling the case where loading failed due to sound being disabled)
2008-07-23 05:39:54 +00:00
tools
…
main.cpp
…
test_setup.cpp
…