summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-02-08 23:56:56 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-02-08 23:56:56 +0000
commitf960ce451bc0d3cfbb62bfad8f616f31f3aba18c (patch)
tree1f1f10d31a19b6898ba25e5dc0d1768c8ffbe61d /src/map/unit.c
parentc738a816d668872f9d0c52968cf6b4eef433c0ce (diff)
downloadhercules-f960ce451bc0d3cfbb62bfad8f616f31f3aba18c.tar.gz
hercules-f960ce451bc0d3cfbb62bfad8f616f31f3aba18c.tar.bz2
hercules-f960ce451bc0d3cfbb62bfad8f616f31f3aba18c.tar.xz
hercules-f960ce451bc0d3cfbb62bfad8f616f31f3aba18c.zip
Added missing parenthesis to guild aura, bugreport:5291
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15549 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index ac9e09d1f..511a33fe6 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -194,7 +194,7 @@ static int unit_walktoxy_timer(int tid, unsigned int tick, int id, intptr_t data
if ((skill = guild_checkskill(g, GD_LEADERSHIP)) > 0) strvit |= (skill&0xFFFF)<<16;
if ((skill = guild_checkskill(g, GD_GLORYWOUNDS)) > 0) strvit |= (skill&0xFFFF);
if ((skill = guild_checkskill(g, GD_SOULCOLD)) > 0) agidex |= (skill&0xFFFF)<<16;
- if ((skill = guild_checkskill(g, GD_HAWKEYES)) > 0) agidex |= skill&0xFFFF;
+ if ((skill = guild_checkskill(g, GD_HAWKEYES)) > 0) agidex |= (skill&0xFFFF);
if (strvit || agidex)
{// replaced redundant foreachinrange call with smaller and much more efficient iteration
for( i = 0; i < g->max_member; i++ )