summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-12 14:53:53 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-12 14:53:53 +0000
commit3fec823429f792645dfd3ad34aed536086f81dfa (patch)
tree6b8edceeb025455619ff9e20b8f64f5dd547a024 /src/map/script.c
parent61622fe4e4875e2cadc8ede3f1a60f5e8cca89a5 (diff)
downloadhercules-3fec823429f792645dfd3ad34aed536086f81dfa.tar.gz
hercules-3fec823429f792645dfd3ad34aed536086f81dfa.tar.bz2
hercules-3fec823429f792645dfd3ad34aed536086f81dfa.tar.xz
hercules-3fec823429f792645dfd3ad34aed536086f81dfa.zip
- Modified the skill damage packet and the knockback packets to mimic aegis sent packets for such skills.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9471 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/script.c b/src/map/script.c
index eb9abb8a3..1703aac8f 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -8688,8 +8688,8 @@ static int buildin_maprespawnguildid_sub_pc(DBKey key, void *data, va_list ap)
if(!sd || sd->bl.m != m)
return 0;
if(
- ((sd->status.guild_id == g_id) && flag&1) || //Warp out owners
- ((sd->status.guild_id != g_id) && flag&2) || //Warp out outsiders
+ (sd->status.guild_id == g_id && flag&1) || //Warp out owners
+ (sd->status.guild_id != g_id && flag&2) || //Warp out outsiders
(sd->status.guild_id == 0) // Warp out players not in guild [Valaris]
)
pc_setpos(sd,sd->status.save_point.map,sd->status.save_point.x,sd->status.save_point.y,3);