Files
OpenRA/OpenRA.Mods.Common/Traits
reaperrr 0e5ea959aa Perform faster checks in AB.CanAttack much earlier
Move self.IsDisabled right after IsInWorld and IsTraitDisabled checks.
This should skip/avoid a lot of the following checks when actors are disabled by low power, EMP or similar, potentially saving some performance when there are many disabled actors with attack trait.

Move IsValidFor before HasAnyValidWeapons because the latter is more
expensive.
2015-12-14 04:34:58 +01:00
..
2015-11-27 16:19:59 +00:00
2015-11-27 16:19:59 +00:00
2015-03-15 18:25:28 +01:00
2015-08-25 20:12:37 +02:00
2015-06-28 16:06:39 +02:00
2015-04-27 19:38:23 +12:00
2015-01-09 21:18:05 +01:00
2015-09-27 14:57:58 +02:00
2015-09-20 14:11:06 +01:00
2015-09-20 14:11:06 +01:00
2015-09-20 14:11:06 +01:00
2015-11-18 21:16:58 +01:00
2015-01-09 21:18:05 +01:00
2015-01-14 21:26:53 +02:00
2015-01-09 21:18:05 +01:00
2015-05-15 17:08:31 +01:00
2015-01-09 21:18:05 +01:00
2015-09-20 14:11:06 +01:00
2015-09-21 22:17:06 +01:00
2015-09-02 16:13:23 +03:00
2015-11-27 16:19:59 +00:00
2015-09-19 09:49:23 -05:00
2015-09-19 09:49:23 -05:00
2015-06-20 12:09:58 +02:00
2015-09-20 14:11:06 +01:00
2015-01-09 21:18:05 +01:00
2015-11-14 22:32:37 -07:00
2015-09-19 09:49:23 -05:00
2015-01-09 21:18:05 +01:00
2015-09-20 14:11:06 +01:00
2015-11-27 16:19:59 +00:00