[Ohrrpgce] SVN: james/10194 Call update_hero_pathfinding() on every tick for each hero

Ralph Versteegen teeemcee at gmail.com
Mon Mar 26 16:28:01 PDT 2018


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, <subversion at hamsterrepublic.com> 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
> ohrrpgce at lists.motherhamster.org
> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20180327/622a8e16/attachment.html>


More information about the Ohrrpgce mailing list