summaryrefslogtreecommitdiff
path: root/npc/other/gm_npcs.txt
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-12-18 05:48:23 +0100
committerHaru <haru@dotalux.com>2015-12-18 05:53:48 +0100
commita782aa1540b63d5fffd55d835f6f30ee0c53d0f1 (patch)
tree4d20c27f191e91adabb029342683687bce5ca4d5 /npc/other/gm_npcs.txt
parentdbe5f2237cada6a261e297b60857dc305860a88d (diff)
downloadhercules-a782aa1540b63d5fffd55d835f6f30ee0c53d0f1.tar.gz
hercules-a782aa1540b63d5fffd55d835f6f30ee0c53d0f1.tar.bz2
hercules-a782aa1540b63d5fffd55d835f6f30ee0c53d0f1.tar.xz
hercules-a782aa1540b63d5fffd55d835f6f30ee0c53d0f1.zip
Replaced numeric values with UNITTYPE_ constants in getmapxy
Follow-up to dbe5f2237cada6a261e297b60857dc305860a88d Signed-off-by: Haru <haru@dotalux.com>
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 9bc79ca77..54e37a2bd 100644
--- a/npc/other/gm_npcs.txt
+++ b/npc/other/gm_npcs.txt
@@ -41,7 +41,7 @@ function script F_GM_NPC {
// To set a minimum GM level to access the NPCs, edit the line below.
if (getgmlevel() < 99) {/* TODO: perhaps better to just add a group permission? [Ind] */
// Log the event.
- getmapxy(.@map$,.@x,.@y,1);
+ getmapxy(.@map$, .@x, .@y, UNITTYPE_NPC);
logmes strcharinfo(0)+" attempted to access GM NPC "+strnpcinfo(0)+" ("+.@map$+","+.@x+","+.@y+").";
end;
}