summaryrefslogtreecommitdiff
path: root/src/map/guild.c
diff options
context:
space:
mode:
authormarkzd <markzd@54d463be-8e91-2dee-dedb-b68131a5f0ec>2013-01-07 06:01:48 +0000
committermarkzd <markzd@54d463be-8e91-2dee-dedb-b68131a5f0ec>2013-01-07 06:01:48 +0000
commitcf31e4f05bb62b5a93f891d219a405e2e942c75c (patch)
tree0c50a11c2f6761546502b7be2b106870ea56de99 /src/map/guild.c
parent24987d8513307094064f59d3c9f9c35d0f6a6e87 (diff)
downloadhercules-cf31e4f05bb62b5a93f891d219a405e2e942c75c.tar.gz
hercules-cf31e4f05bb62b5a93f891d219a405e2e942c75c.tar.bz2
hercules-cf31e4f05bb62b5a93f891d219a405e2e942c75c.tar.xz
hercules-cf31e4f05bb62b5a93f891d219a405e2e942c75c.zip
* Follow Up: r17080
1. Removed an unnecessary update call. 2. Implemented interreg table at main.sql. * Follow Up: r17077, r17072, r17065 1. Fixed bugreport:7078, removed unnecessary checks. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17081 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/guild.c')
-rw-r--r--src/map/guild.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/guild.c b/src/map/guild.c
index 4e256fbd0..780154590 100644
--- a/src/map/guild.c
+++ b/src/map/guild.c
@@ -1299,7 +1299,7 @@ void guild_guildaura_refresh(struct map_session_data *sd, uint16 skill_id, uint1
if( !(battle_config.guild_aura&((agit_flag || agit2_flag)?2:1)) &&
!(battle_config.guild_aura&(map_flag_gvg2(sd->bl.m)?8:4)) )
return;
- if( skill_lv <= 0 )
+ if( !skill_lv )
return;
if( sd->sc.data[type] && (group = skill_id2group(sd->sc.data[type]->val4)) ) {
skill_delunitgroup(group);