summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorsketchyphoenix <sketchyphoenix@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-02-24 01:17:36 +0000
committersketchyphoenix <sketchyphoenix@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-02-24 01:17:36 +0000
commit22c17ec129a57ecd08ca69805d718bb3dce07c94 (patch)
tree039c27e8d212f7290fba9f89b4d8ee1d89559779 /src/map/script.c
parent0c2aa46ad3af72ade35d6389a5227f7b8bc0c3c0 (diff)
downloadhercules-22c17ec129a57ecd08ca69805d718bb3dce07c94.tar.gz
hercules-22c17ec129a57ecd08ca69805d718bb3dce07c94.tar.bz2
hercules-22c17ec129a57ecd08ca69805d718bb3dce07c94.tar.xz
hercules-22c17ec129a57ecd08ca69805d718bb3dce07c94.zip
Replaced giving dummy sd gm levels in script commands atcommand and charcommand with a check by internal flag.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13546 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/map/script.c b/src/map/script.c
index c2ec1ddc8..178bbdf4b 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -10733,7 +10733,6 @@ BUILDIN_FUNC(atcommand)
cmd++;
}
- sd->gmlevel = 99;
is_atcommand(fd, sd, cmd, 0);
return 0;
@@ -10771,7 +10770,6 @@ BUILDIN_FUNC(charcommand)
return 1;
}
- sd->gmlevel = 99;
is_atcommand(0, sd, cmd, 0);
return 0;