Files
nethack/include
copperwater a61a97856b Externify trycall() and replace many docall() calls with it
trycall() is a short docall() wrapper that is a no-op if the item is
already identified or the player has called the object type already. For
some reason, many calls to docall() did those same exact checks
beforehand.

This commit eliminates that redundancy by converting those calls into
trycall(), which is now made extern rather than local to do.c. No
behavior should be changed by this commit; I've checked that none of the
affected places could take a different code path now that the
oc_name_known and oc_uname checks are removed.
2022-03-14 09:48:19 -04:00
..
2022-02-04 11:01:20 -05:00
2022-03-13 13:58:56 -07:00
2021-02-07 22:25:25 -06:00
2020-10-14 09:25:45 -07:00
2022-01-29 11:13:01 -08:00
2022-03-11 07:33:28 -05:00
2022-03-04 13:07:14 -08:00
2022-03-07 02:06:55 -08:00
2022-02-22 14:41:20 +02:00
2021-01-26 21:06:16 -05:00
2022-03-12 17:25:54 -08:00
2022-03-11 07:33:28 -05:00
2021-01-20 22:18:34 -06:00
2021-12-26 00:16:55 -08:00
2020-12-04 09:30:21 +02:00
2022-02-16 23:04:02 +02:00
2022-02-19 17:31:34 -08:00
2022-02-02 05:26:03 -08:00
2022-01-28 08:30:08 +02:00
2022-03-12 17:25:54 -08:00
2021-12-19 19:31:19 -08:00
2022-02-23 12:53:09 +02:00
2022-03-09 07:06:37 -08:00
2021-09-18 19:51:04 -04:00
2022-03-02 13:09:42 -08:00
2022-02-01 13:03:41 -05:00
2020-08-12 16:15:28 -07:00
2022-03-13 14:50:07 +02:00
2022-02-24 16:24:02 +02:00
2021-10-21 08:48:23 -04:00
2021-12-20 08:16:13 -08:00
2021-09-20 09:32:40 -04:00
2022-01-29 16:28:06 -05:00
2021-01-26 10:27:51 -05:00
2022-02-27 01:55:25 -08:00
2022-01-11 10:25:50 -08:00