summaryrefslogtreecommitdiff
path: root/npc/re/woe-fe/invest_main.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/re/woe-fe/invest_main.txt')
-rw-r--r--npc/re/woe-fe/invest_main.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/re/woe-fe/invest_main.txt b/npc/re/woe-fe/invest_main.txt
index e42959aa7..fc258ad2e 100644
--- a/npc/re/woe-fe/invest_main.txt
+++ b/npc/re/woe-fe/invest_main.txt
@@ -908,7 +908,7 @@ OnAgitInvest:
for(.@i = 1; .@i<=5; ++.@i) {
.@castle_name$[.@i] = getcastlename(.@npc$+"g_cas0"+.@i);
.@owner_id[.@i] = getcastledata(.@npc$+"g_cas0"+.@i,1);
- .@owner_name$[.@i] = getguildname(.@owner_id[.@i]);
+ .@owner_name$[.@i] = getguildinfo(GUILDINFO_NAME, .@owner_id[.@i]);
if (.@guild == .@owner_id[.@i]) {
.@menu$ = .@menu$+.@castle_name$[.@i]+" ["+.@owner_name$[.@i]+"] Guild:";
.@castles_owned = .@castles_owned | (1<<.@i);
@@ -1062,7 +1062,7 @@ OnAgitInvest:
for(.@i = 1; .@i<=5; ++.@i) {
.@map$ = .@npc$+"g_cas0"+.@i;
.@fund[.@i] = getd("$@vfund_"+.@npc$+"0"+.@i);
- mes getcastlename(.@map$)+" "+getguildname(getcastledata(.@map$,1))+" Guild: "+.@fund[.@i];
+ mes getcastlename(.@map$)+" "+getguildinfo(GUILDINFO_NAME, getcastledata(.@map$,1))+" Guild: "+.@fund[.@i];
}
.@fund[0] = getd("$@vfund_"+.@npc$+"_extra");
mes .@realm$+" normal: "+.@fund[0];