summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorAnnieRuru <jeankof@ymail.com>2014-03-17 02:20:57 +0800
committerAnnieRuru <jeankof@ymail.com>2014-03-17 02:20:57 +0800
commit1c495a071e907286ebe929dec9a8ead8582aee82 (patch)
treed03f8618320e7ca58e5ce42c765b49198c741108 /npc
parent502f2510a29d3b32cd601c775817bd9e98c7fc0d (diff)
downloadhercules-1c495a071e907286ebe929dec9a8ead8582aee82.tar.gz
hercules-1c495a071e907286ebe929dec9a8ead8582aee82.tar.bz2
hercules-1c495a071e907286ebe929dec9a8ead8582aee82.tar.xz
hercules-1c495a071e907286ebe929dec9a8ead8582aee82.zip
Fix WoE:SE guild flag doesn't change emblem
Fix bug 8077 http://hercules.ws/board/tracker/issue-8077-woese-flag-emblems-gives-warning/
Diffstat (limited to 'npc')
-rw-r--r--npc/guild2/agit_main_se.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/guild2/agit_main_se.txt b/npc/guild2/agit_main_se.txt
index ecd06d836..d5c2eaddd 100644
--- a/npc/guild2/agit_main_se.txt
+++ b/npc/guild2/agit_main_se.txt
@@ -623,7 +623,7 @@ OnStartArena:
donpcevent "Manager#"+strnpcinfo(4)+"::OnReset";
maprespawnguildid strnpcinfo(4),getcastledata(strnpcinfo(4),1),2;
donpcevent "Manager#"+strnpcinfo(4)+"::OnRecvCastle2";
- donpcevent "::OnRecvCastle"+strnpcinfo(2);
+ donpcevent "::OnRecvCastle"+ strtoupper( substr( strnpcinfo(2), 0, 0 ) ) + substr( strnpcinfo(2), 1, getstrlen( strnpcinfo(2) ) -1 );
sleep 10000;
if (agitcheck2()) {
donpcevent "Manager#"+strnpcinfo(4)+"::OnChange";