summaryrefslogtreecommitdiff
path: root/npc/other/gm_npcs.txt
diff options
context:
space:
mode:
authorAsheraf <acheraf1998@gmail.com>2016-08-29 17:40:13 +0100
committerhemagx <ibrahem.h.basyone@gmail.com>2016-09-02 04:56:00 +0200
commit0f1d0507eb95cf07ce7eb66d89ad9853938612e6 (patch)
tree57780b1ecc7c5ae125be1c89406f8db1e00a581b /npc/other/gm_npcs.txt
parent0f1d03f505fdc03533122db8ba19fa55f64f11b7 (diff)
downloadhercules-0f1d0507eb95cf07ce7eb66d89ad9853938612e6.tar.gz
hercules-0f1d0507eb95cf07ce7eb66d89ad9853938612e6.tar.bz2
hercules-0f1d0507eb95cf07ce7eb66d89ad9853938612e6.tar.xz
hercules-0f1d0507eb95cf07ce7eb66d89ad9853938612e6.zip
change *strcharinfo to use constants
Diffstat (limited to 'npc/other/gm_npcs.txt')
-rw-r--r--npc/other/gm_npcs.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/other/gm_npcs.txt b/npc/other/gm_npcs.txt
index 9dfaa81a8..d86535104 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(NPC_NAME)+" ("+.@map$+","+.@x+","+.@y+").";
+ logmes strcharinfo(PC_NAME)+" attempted to access GM NPC "+strnpcinfo(NPC_NAME)+" ("+.@map$+","+.@x+","+.@y+").";
end;
}