wraitii
7350b9042e
CmpPosition::TurnStart checks whether the territory changed underneath each entityevery turn. The only user of this is TerritoryDecay (structures, for the most part). It is rather inefficient to have this done for all entities. The simplest solution is to listen to position-changed messages in TerritoryDecay instead. This should hardly ever happen in vanilla 0 A.D., except in Atlas, so it's basically free. This sort of reverts |
||
---|---|---|
.. | ||
collada | ||
graphics | ||
gui | ||
i18n | ||
lib | ||
lobby | ||
maths | ||
mocks | ||
network | ||
pch | ||
ps | ||
renderer | ||
rlinterface | ||
scriptinterface | ||
simulation2 | ||
soundmanager | ||
third_party | ||
tools | ||
main.cpp | ||
test_setup.cpp |