Actions
Bug #1583
closedLogic of is_action_possible()
Start date:
07/07/2025
Due date:
% Done:
0%
Estimated time:
Description
The variable Ah, out
is assigned twice, shouldn't there be TRI_AND()
whenever we get TRI_MAYBE
in a later check? This is mostly harmless since clients make few difference between TRI_YES
and TRI_MAYBE
and servers should always get definite results.actres_possible()
has a builtin effective tri-and with its def
parameter. Thus we should just correct the distance check in main since player actions won't have an actor tile whatever the ATK_* is.
Files
Actions