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-12-05 19:20:40 +01:00
2015-12-14 04:34:58 +01:00
2015-11-28 22:45:05 +01:00
2015-10-28 16:36:45 -05:00
2015-11-27 16:19:59 +00:00
2015-12-13 20:46:07 -06:00
2015-11-27 16:19:59 +00:00
2015-09-14 16:36:56 +02:00
2015-12-13 16:24:54 +00:00
2015-10-28 16:36:45 -05:00
2015-12-13 20:46:07 -06:00
2015-12-04 22:06:16 +01:00
2015-11-28 22:45:05 +01:00
2015-12-04 19:26:49 -06:00
2015-12-13 20:46:07 -06:00
2015-03-15 18:25:28 +01:00
2015-09-08 17:24:49 -05:00
2015-05-31 20:47:08 +02:00
2015-09-05 01:18:45 +03:00
2015-12-01 07:47:39 +02:00
2015-08-25 20:12:37 +02:00
2015-06-28 16:06:39 +02:00
2015-11-11 14:32:38 +01:00
2015-12-04 17:44:40 +02:00
2015-09-19 09:56:14 -05:00
2015-09-05 16:59:30 -05:00
2015-04-27 19:38:23 +12:00
2015-11-25 21:16:15 +00:00
2015-09-19 09:56:14 -05:00
2015-09-20 14:11:06 +01:00
2015-09-19 09:56:14 -05:00
2015-12-04 19:26:49 -06:00
2015-01-09 21:18:05 +01:00
2015-09-27 14:57:58 +02:00
2015-12-10 23:25:58 +00:00
2015-09-08 17:24:49 -05:00
2015-09-20 14:11:06 +01:00
2015-09-19 09:56:14 -05:00
2015-09-20 14:58:23 +02:00
2015-09-19 09:56:14 -05:00
2015-04-07 14:02:27 -05:00
2015-09-19 11:02:28 -05:00
2015-09-20 14:11:06 +01:00
2015-09-19 09:56:14 -05:00
2015-09-19 09:49:24 -05:00
2015-11-11 21:23:40 +01:00
2015-11-11 14:32:38 +01:00
2015-08-01 13:27:09 +01:00
2015-09-19 09:56:14 -05:00
2015-09-20 14:11:06 +01:00
2015-09-19 09:56:14 -05:00
2015-09-19 09:56:14 -05:00
2015-07-12 12:44:30 -05:00
2015-12-13 14:16:06 +01:00
2015-09-19 11:02:28 -05:00
2015-11-16 20:38:53 +00:00
2015-11-18 21:16:58 +01:00
2015-01-09 21:18:05 +01:00
2015-11-05 00:55:29 -06: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-09-19 11:02:28 -05:00
2015-09-19 09:49:24 -05:00
2015-12-13 16:24:54 +00: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-19 09:56:14 -05:00
2015-07-12 12:44:30 -05:00
2015-09-02 16:13:23 +03:00
2015-07-13 21:04:26 -05:00
2015-10-25 10:41:17 +00:00
2015-01-11 03:04:39 +01:00
2015-09-19 11:02:28 -05:00
2015-09-19 09:49:24 -05:00
2015-11-27 16:19:59 +00:00
2015-09-19 09:56:14 -05:00
2015-01-09 21:18:05 +01: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-08 17:24:49 -05:00
2015-11-22 00:30:27 +00:00
2015-06-28 10:24:00 -05:00
2015-09-20 14:11:06 +01:00
2015-01-09 21:18:05 +01:00
2015-09-15 22:57:08 -05:00
2015-11-05 00:55:29 -06:00
2015-11-02 00:08:10 -06:00
2015-11-14 22:32:37 -07:00
2015-09-19 09:49:24 -05:00
2015-09-15 22:57:08 -05:00
2015-12-01 07:47:39 +02:00
2015-09-19 09:49:23 -05:00
2015-01-09 21:18:05 +01:00
2015-09-05 16:59:30 -05:00
2015-11-14 12:49:26 +00:00
2015-11-21 21:29:31 +00:00
2015-07-12 12:44:30 -05:00
2015-09-19 09:56:14 -05:00
2015-09-20 14:11:06 +01:00
2015-11-27 16:19:59 +00:00