summaryrefslogtreecommitdiff
path: root/npc/events/nguild/nguild_managers.txt
diff options
context:
space:
mode:
authorAsheraf <acheraf1998@gmail.com>2016-10-09 14:46:30 +0100
committerAsheraf <acheraf1998@gmail.com>2016-10-16 12:51:22 +0100
commit062f2cf4235cf07481ecaf58682f37f2ad8928f8 (patch)
tree30fd352940f19ba058705ca338a61339e10e4ead /npc/events/nguild/nguild_managers.txt
parent9c777dfc4ce6d84e7da89d896baa05786e574a99 (diff)
downloadhercules-062f2cf4235cf07481ecaf58682f37f2ad8928f8.tar.gz
hercules-062f2cf4235cf07481ecaf58682f37f2ad8928f8.tar.bz2
hercules-062f2cf4235cf07481ecaf58682f37f2ad8928f8.tar.xz
hercules-062f2cf4235cf07481ecaf58682f37f2ad8928f8.zip
Change *getcharid to use constants
Diffstat (limited to 'npc/events/nguild/nguild_managers.txt')
-rw-r--r--npc/events/nguild/nguild_managers.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/events/nguild/nguild_managers.txt b/npc/events/nguild/nguild_managers.txt
index 6ff1e7e2a..1d9b56966 100644
--- a/npc/events/nguild/nguild_managers.txt
+++ b/npc/events/nguild/nguild_managers.txt
@@ -47,7 +47,7 @@ function script F_GldManager {
mes "I am waiting for my master. Brave adventurer, follow your destiny!";
return;
}
- if (getcharid(2) != @GID){
+ if (getcharid(CHAR_ID_GUILD) != @GID){
mes "I am here to follow ^5533FF" + getguildmaster(@GID) + "^000000's command! Hey! Your not even a part of the guild!!";
mes "Where are the guardians? Destroy these intruders!";
return;