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/gm_npcs.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/other/gm_npcs.txt') diff --git a/npc/other/gm_npcs.txt b/npc/other/gm_npcs.txt index 54e37a2bd..9dfaa81a8 100644 --- a/npc/other/gm_npcs.txt +++ b/npc/other/gm_npcs.txt @@ -42,7 +42,7 @@ function script F_GM_NPC { if (getgmlevel() < 99) {/* TODO: perhaps better to just add a group permission? [Ind] */ // Log the event. getmapxy(.@map$, .@x, .@y, UNITTYPE_NPC); - logmes strcharinfo(0)+" attempted to access GM NPC "+strnpcinfo(0)+" ("+.@map$+","+.@x+","+.@y+")."; + logmes strcharinfo(0)+" attempted to access GM NPC "+strnpcinfo(NPC_NAME)+" ("+.@map$+","+.@x+","+.@y+")."; end; } -- cgit v1.2.3-70-g09d2