From 86977d79269408a371384e61111c3a9cf6e87b0c Mon Sep 17 00:00:00 2001 From: Asheraf Date: Sun, 28 Aug 2016 17:03:57 +0100 Subject: *strnpcinfo now uses constants - NPC_NAME for the whole npc name including hidden part - NPC_NAME_VISIBLE for the visible part of the npc name - NPC_NAME_HIDDEN for the hidden part of the npc name - NPC_NAME_UNIQUE for the npc unique name - NPC_MAP for npc map --- npc/other/mercenary_rent.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/other/mercenary_rent.txt') diff --git a/npc/other/mercenary_rent.txt b/npc/other/mercenary_rent.txt index 319b897d4..4b0878e79 100644 --- a/npc/other/mercenary_rent.txt +++ b/npc/other/mercenary_rent.txt @@ -39,7 +39,7 @@ setarray .@name$, "Spear", "Sword", "Bow"; setarray .@faith$, "SPEAR_MERC_GUILD", "SWORD_MERC_GUILD", "ARCH_MERC_GUILD"; setarray .@item, 12182, 12172, 12162; - .@npc$ = strnpcinfo(2); + .@npc$ = strnpcinfo(NPC_NAME_HIDDEN); .@size = getarraysize(.@name$); for (.@i = 0; .@i < .@size; ++.@i) if (.@npc$ == .@name$[.@i]) .@type = .@i; -- cgit v1.2.3-60-g2f50