AutoVendor: find a vendor by the server's vendor bitfield

The world cache never assigns AcObjectClass.Vendor, so a vendor was never found by name or id. Recognise a vendor by the server's BF_VENDOR bit (PublicWeenieDesc bitfield 0x200), or the cache class if one is ever set, and open the nearest match.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Daniel Wallace 2026-11-07 08:26:36 -08:00
commit c999ff76d9
3 changed files with 119 additions and 2 deletions

View file

@ -132,6 +132,7 @@ internal static class Program
ServerPluginForwardTests.Register(runner);
IgnoreMonsterTests.Register(runner);
WorldCacheTypedTests.Register(runner);
VendorFlagTests.Register(runner);
NavOverlayTests.Register(runner);
ActionPacingTests.Register(runner);
HazardEscapeTests.Register(runner);