summaryrefslogtreecommitdiff
path: root/npc/guild/gldfunc_dunsw.txt
diff options
context:
space:
mode:
authorLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-02-25 21:31:16 +0000
committerLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-02-25 21:31:16 +0000
commit841f29cbf638d98b5ffeb56f4bc5666f3a3944c9 (patch)
treeee1986ea6e837e7bc1d398d26a1ab679dca480ce /npc/guild/gldfunc_dunsw.txt
parent46ac9922e59ba3b08fc7b4ee6e0ce0fad241f0ab (diff)
downloadhercules-841f29cbf638d98b5ffeb56f4bc5666f3a3944c9.tar.gz
hercules-841f29cbf638d98b5ffeb56f4bc5666f3a3944c9.tar.bz2
hercules-841f29cbf638d98b5ffeb56f4bc5666f3a3944c9.tar.xz
hercules-841f29cbf638d98b5ffeb56f4bc5666f3a3944c9.zip
fixed
free access to the guild dungeons git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1179 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/guild/gldfunc_dunsw.txt')
-rw-r--r--npc/guild/gldfunc_dunsw.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/guild/gldfunc_dunsw.txt b/npc/guild/gldfunc_dunsw.txt
index 3c2f40fb4..a23978515 100644
--- a/npc/guild/gldfunc_dunsw.txt
+++ b/npc/guild/gldfunc_dunsw.txt
@@ -35,7 +35,7 @@ function script F_GldDunSw {
menu "Yes",-,"No",M_No;
set @GID, GetCastleData(getarg(0)+".gat",1);
- if (getcharid(2) != @GID) goto L_NotGLead;
+ if (@GID == 0 || getcharid(2) != @GID) goto L_NotGLead;
warp "gld_dun"+getarg(1)+".gat",getarg(2),getarg(3);
end;