[Ohrrpgce] SVN: teeemcee/12521 Ensure npcdef_by_pool doesn't crash if given an invalid pool or id

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Wed Sep 29 19:28:56 PDT 2021


teeemcee
2021-09-29 19:28:53 -0700 (Wed, 29 Sep 2021)
202
Ensure npcdef_by_pool doesn't crash if given an invalid pool or id

It returns NPC ID 0 in that case instead of dereferencing NULL, but even if that
does happen (it shouldn't) nothing bad should result.
---
U   wip/mapsubs.bas



More information about the Ohrrpgce mailing list