[Ohrrpgce] SVN: teeemcee/11303 Fix empty active parties and OOB errors/crashes because findhero(-1) was

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Mon Sep 2 19:05:48 PDT 2019


teeemcee
2019-09-02 19:05:47 -0700 (Mon, 02 Sep 2019)
325
Fix empty active parties and OOB errors/crashes because findhero(-1) was broken

Was meant to return first hero in party, instead returned 0!  This broke
forceparty, so you could end up with an empty party. findhero(-1) wasn't used
anywhere else.

I broke it in r10439 "findhero() id arg is no longer offset by 1", 2018-07-04
---
U   wip/game.bas


More information about the Ohrrpgce mailing list