diff options
Diffstat (limited to 'npc/woe-fe/trs_rp.txt')
-rw-r--r-- | npc/woe-fe/trs_rp.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/woe-fe/trs_rp.txt b/npc/woe-fe/trs_rp.txt index 7a71c1bbe..be87d75e2 100644 --- a/npc/woe-fe/trs_rp.txt +++ b/npc/woe-fe/trs_rp.txt @@ -9,9 +9,9 @@ //= This file is part of Hercules. //= http://herc.ws - http://github.com/HerculesWS/Hercules //= -//= Copyright (C) 2012-2015 Hercules Dev Team -//= Copyright (C) Daegaladh -//= Copyright (C) Masao +//= Copyright (C) 2012-2020 Hercules Dev Team +//= Copyright (C) Daegaladh +//= Copyright (C) Masao //= //= Hercules is free software: you can redistribute it and/or modify //= it under the terms of the GNU General Public License as published by @@ -39,7 +39,7 @@ end; OnTouch: // Store the Guild ID of castle occupant. .@GID = getcastledata(strnpcinfo(NPC_NAME_HIDDEN),1); - if (strcharinfo(PC_NAME) != getguildmaster(.@GID)) { + if (strcharinfo(PC_NAME) != getguildinfo(GUILDINFO_MASTER_NAME, .@GID)) { if (compare(strnpcinfo(NPC_NAME_HIDDEN),"aldeg")) warp "aldebaran",143,112; else if (compare(strnpcinfo(NPC_NAME_HIDDEN),"gefg")) |