[Ohrrpgce] SVN: teeemcee/12522 mapedit: pass global_npcdef_editor the real map insead of a dummy one

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Thu Sep 30 02:13:38 PDT 2021


teeemcee
2021-09-30 02:05:14 -0700 (Thu, 30 Sep 2021)
556
mapedit: pass global_npcdef_editor the real map insead of a dummy one

This allows the global NPC editor to show names of zones and some default
settings for the current map.  It also allows it to delete NPC instances when
the definition is deleted, but mapedit_sanity_check_npc_instances did this
anyway, so the only difference is that you're told how many instances you're
about to delete on the current map.  mapedit_sanity_check_npc_instances is still
needed.

Also, npcdef_editor and handle_npc_def_delete now use pool_id instead of
an is_global bool.
---
U   wip/mapsubs.bas



More information about the Ohrrpgce mailing list