summaryrefslogtreecommitdiff
path: root/npc/guild/gldfunc_flag.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/guild/gldfunc_flag.txt')
-rw-r--r--npc/guild/gldfunc_flag.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/guild/gldfunc_flag.txt b/npc/guild/gldfunc_flag.txt
index ec73de7c5..356f94983 100644
--- a/npc/guild/gldfunc_flag.txt
+++ b/npc/guild/gldfunc_flag.txt
@@ -25,7 +25,7 @@
function script F_Flags {
- set @GID, GetCastleData(getarg(1)+".gat",1);
+ set @GID, GetCastleData(getarg(1),1);
if (@GID != 0) goto L_Startg;
mes "[ Edict of the Divine Rune Midgard Kingdom of " + getarg(0) + " ]";
@@ -56,6 +56,6 @@ L_Startg2:
return;
M_Enter:
- if (getcharid(2) == GetCastleData(getarg(1)+".gat",1)) warp getarg(1)+".gat",getarg(2),getarg(3);
+ if (getcharid(2) == GetCastleData(getarg(1),1)) warp getarg(1),getarg(2),getarg(3);
return;
-}
+} \ No newline at end of file