summaryrefslogtreecommitdiff
path: root/npc/woe-fe/prtg_cas03.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/woe-fe/prtg_cas03.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/woe-fe/prtg_cas03.txt')
-rw-r--r--npc/woe-fe/prtg_cas03.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/woe-fe/prtg_cas03.txt b/npc/woe-fe/prtg_cas03.txt
index 9040cb697..2a3879f65 100644
--- a/npc/woe-fe/prtg_cas03.txt
+++ b/npc/woe-fe/prtg_cas03.txt
@@ -52,14 +52,14 @@
mes "ownership of this castle.";
close;
}
- if (getcharid(2) == .@GID) {
+ if (getcharid(CHAR_ID_GUILD) == .@GID) {
mes "[ Echoing Voice ]";
mes "Brave ones...";
mes "Do you wish to return to your honorable place?";
next;
if(select("Return to the guild castle.", "Quit.") == 1) {
close2;
- if (getcharid(2) == getcastledata("prtg_cas03",1)) {
+ if (getcharid(CHAR_ID_GUILD) == getcastledata("prtg_cas03",1)) {
warp "prtg_cas03",181,215;
end;
}