Leshana
c4e01aa739
Fix falling when moving diagonally past an open space.
...
This was happening because the decision to call handle_fall was made when over the open space, but execution deferred until the next tick. By that time it is too late for the checks in handle_fall to abort falling, so lets call those in advance.
We do so in a separate proc from can_fall() because implementing it would be awkward, some types that override can_fall to avoid the anchored check would need to repeat the entire code or else delegate it.
2021-07-20 22:51:14 -04:00
..
2021-07-20 12:54:59 -04:00
2021-07-20 12:39:59 -04:00
2021-07-16 15:55:49 -05:00
2021-07-20 12:39:59 -04:00
2021-07-20 12:39:59 -04:00
2021-07-20 12:54:59 -04:00
2021-07-16 13:43:25 -04:00
2021-07-20 12:39:59 -04:00
2021-07-20 12:54:59 -04:00
2021-07-20 12:54:59 -04:00
2021-07-20 12:39:59 -04:00
2021-07-20 12:54:59 -04:00
2021-07-20 12:39:59 -04:00
2021-07-15 01:20:17 -04:00
2021-07-16 13:43:25 -04:00
2021-07-20 12:54:59 -04:00
2021-07-20 12:39:59 -04:00
2021-07-20 12:39:59 -04:00
2021-07-20 12:54:59 -04:00
2021-07-16 13:43:25 -04:00
2021-07-20 21:23:18 -04:00
2021-07-20 12:39:59 -04:00
2021-07-20 12:54:59 -04:00
2021-07-16 15:55:49 -05:00
2021-07-20 12:39:59 -04:00
2021-07-20 12:39:59 -04:00
2021-07-20 12:39:59 -04:00
2021-07-20 12:39:59 -04:00
2021-07-20 18:22:03 -04:00
2021-07-19 20:33:54 -04:00
2021-07-07 21:19:08 -04:00
2021-07-20 12:39:59 -04:00
2021-07-20 12:39:59 -04:00
2021-07-16 15:55:49 -05:00
2021-07-20 12:39:59 -04:00
2021-07-20 12:54:59 -04:00
2021-07-20 18:22:03 -04:00
2021-07-20 12:39:59 -04:00
2021-07-20 22:51:14 -04:00
2021-07-20 12:39:59 -04:00
2021-07-20 12:39:59 -04:00
2021-07-20 12:39:59 -04:00
2021-07-20 12:39:59 -04:00
2021-07-20 12:39:59 -04:00
2021-07-16 13:43:25 -04:00
2021-07-20 12:39:59 -04:00
2021-07-20 12:54:59 -04:00
2021-07-20 12:39:59 -04:00
2021-07-20 12:54:59 -04:00
2021-07-20 12:54:59 -04:00
2021-07-16 15:55:49 -05:00
2021-07-20 12:54:59 -04:00
2021-07-20 12:54:59 -04:00
2021-07-20 12:39:59 -04:00
2021-07-20 12:39:59 -04:00
2021-07-16 15:55:49 -05:00
2021-07-20 12:54:59 -04:00
2021-07-16 15:55:49 -05:00
2021-07-16 18:07:25 -04:00
2021-07-16 13:43:25 -04:00
2021-07-16 13:43:25 -04:00
2021-07-20 12:54:59 -04:00
2021-07-20 12:39:59 -04:00
2021-07-16 13:43:25 -04:00
2021-07-16 15:55:49 -05:00
2021-07-15 12:03:27 -04:00
2021-07-20 12:39:59 -04:00
2021-07-20 12:39:59 -04:00
2021-07-20 12:54:59 -04:00
2021-07-20 12:54:59 -04:00
2021-07-20 12:54:59 -04:00