Files
fs2open.github.com/code
Goober5000 d1e81be2aa ai-stay-near-ship fixes
Three fixes:
1. In commit fa0878b6b3 for PR #5338, the optional distance parameter was inadvertently changed to a bool.  This fixes the parameter.
2. The distance parameter was previously parsed using `atoi` which works for number literals, so change to `eval_num` to allow sexp return values.
3. Make `eval_num` consistent with `eval_sexp` in the sense that evaluating an empty list is valid and returns false or 0.

Also takes advantage of the fact that `is_sexp_true` works for empty lists to streamline optional arguments in `ai_add_goal_sub_sexp`.
2023-08-08 13:07:21 -04:00
..
2022-08-29 09:27:30 -04:00
2023-08-08 13:07:21 -04:00
2023-01-14 16:45:10 +01:00
2023-07-07 01:22:40 -04:00
2022-09-11 20:00:54 +09:00
2023-06-10 23:13:26 +02:00
2023-02-16 08:50:03 -06:00
2021-03-14 23:43:22 -03:00
2023-04-20 02:48:19 -04:00
2023-06-07 19:59:07 -04:00
2018-07-15 19:37:24 +02:00
2023-07-07 01:22:40 -04:00
2023-04-15 00:06:33 -04:00
2023-04-26 19:36:16 -04:00
2023-02-19 14:58:17 -06:00
2023-06-07 19:59:07 -04:00
2023-04-20 22:31:34 -04:00
2023-03-05 19:01:45 +09:00
2023-02-15 16:42:03 -06:00
2023-08-08 13:07:21 -04:00
2019-11-03 16:27:23 -05:00
2022-11-21 20:13:35 -05:00
2023-07-07 01:20:11 -04:00
2023-07-17 18:54:12 +02:00
2023-08-02 09:28:07 -05:00
2023-08-07 16:59:02 -04:00
2023-04-10 17:24:38 -04:00
2023-08-02 09:17:01 -05:00
2023-05-20 18:21:37 -04:00
2018-04-25 11:57:55 +02:00
2023-02-23 12:33:33 +01:00
2023-08-07 16:59:02 -04:00
2016-07-22 12:07:19 +02:00