In SUB update_hero_pathfinding:

+ IF rank > 0 ANDALSO NOT caterpillar_is_suspended() THEN
+  'quietly do nothing when trying to update non-leaders
+  'while caterpillar party is enabled
+  EXIT SUB
+ END IF

I'm guessing, but should there be a call to cancel_hero_pathfinding here?
If you tell a hero other than the leader to pathfind, then resume the
caterpillar (stopping the movement), and a bit later suspend the
caterpillar again, will they resume the old pathfinding command?

On 27 March 2018 at 11:15, <[email protected]> wrote:

> james
> 2018-03-26 15:15:15 -0700 (Mon, 26 Mar 2018)
> 189
> Call update_hero_pathfinding() on every tick for each hero
> Does nothing on non-leaders when caterpillar is enabled.
> when suspendplayer happens. pathing with .by_user = YES is auto-cancelled
> ---
> U   wip/game.bas
> U   wip/game.bi
> _______________________________________________
> Ohrrpgce mailing list
> [email protected]
> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>
_______________________________________________
Ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org

Reply via email to