summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-03-29 16:49:52 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-03-29 16:49:52 +0000
commitff0af0b4437fb987bc0cf2c0091942a266b8731e (patch)
treed25e7820182d6cdbce85ca23fcf2d85ef33faa77 /src/map/script.c
parentfcdf995bd039935c5cdf4842ea9158d44ee6de29 (diff)
downloadhercules-ff0af0b4437fb987bc0cf2c0091942a266b8731e.tar.gz
hercules-ff0af0b4437fb987bc0cf2c0091942a266b8731e.tar.bz2
hercules-ff0af0b4437fb987bc0cf2c0091942a266b8731e.tar.xz
hercules-ff0af0b4437fb987bc0cf2c0091942a266b8731e.zip
- Implementing official battleground "emblem" crossed swords icon.
- Removing the custom guild packets from Battleground as they are not needed anymore. - Scripts updated. - In this way, you get "battle cursor" over your same team, but that's how official does. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13635 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 8e2d54f3b..174bad12b 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -13372,7 +13372,7 @@ BUILDIN_FUNC(waitingroom2bg)
struct npc_data *nd;
struct chat_data *cd;
const char *map_name, *ev = "", *dev = "";
- int x, y, i, mapindex = 0, guild_index, bg_id, n;
+ int x, y, i, mapindex = 0, bg_id, n;
struct map_session_data *sd;
if( script_hasdata(st,8) )
@@ -13399,12 +13399,10 @@ BUILDIN_FUNC(waitingroom2bg)
x = script_getnum(st,3);
y = script_getnum(st,4);
- guild_index = script_getnum(st,5);
- ev = script_getstr(st,6); // Logout Event
- dev = script_getstr(st,7); // Die Event
+ ev = script_getstr(st,5); // Logout Event
+ dev = script_getstr(st,6); // Die Event
- guild_index = cap_value(guild_index, 0, 1);
- if( (bg_id = bg_create(mapindex, x, y, guild_index, ev, dev)) == 0 )
+ if( (bg_id = bg_create(mapindex, x, y, ev, dev)) == 0 )
{ // Creation failed
script_pushint(st,0);
return 0;