summaryrefslogtreecommitdiff
path: root/npc/woe-fe/aldeg_cas05.txt
diff options
context:
space:
mode:
authorIbrahem Hossam <ibrahem.h.basyone@gmail.com>2016-10-16 14:19:36 +0200
committerGitHub <noreply@github.com>2016-10-16 14:19:36 +0200
commit8f2dace11eb6cce3fa9d4ff194db2a4b34753f91 (patch)
tree5dd5748a4f12963b57253a6a946a583b07022e56 /npc/woe-fe/aldeg_cas05.txt
parent1b1682ed243ef8304bfce1be7a70626c95720d93 (diff)
parent062f2cf4235cf07481ecaf58682f37f2ad8928f8 (diff)
downloadhercules-8f2dace11eb6cce3fa9d4ff194db2a4b34753f91.tar.gz
hercules-8f2dace11eb6cce3fa9d4ff194db2a4b34753f91.tar.bz2
hercules-8f2dace11eb6cce3fa9d4ff194db2a4b34753f91.tar.xz
hercules-8f2dace11eb6cce3fa9d4ff194db2a4b34753f91.zip
Merge pull request #1472 from Asheraf/getcharid
Change *getcharid to use constants
Diffstat (limited to 'npc/woe-fe/aldeg_cas05.txt')
-rw-r--r--npc/woe-fe/aldeg_cas05.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/woe-fe/aldeg_cas05.txt b/npc/woe-fe/aldeg_cas05.txt
index 7a1747adb..79c5c77af 100644
--- a/npc/woe-fe/aldeg_cas05.txt
+++ b/npc/woe-fe/aldeg_cas05.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("aldeg_cas05",1)) {
+ if (getcharid(CHAR_ID_GUILD) == getcastledata("aldeg_cas05",1)) {
warp "aldeg_cas05",167,225;
end;
}