summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZido <Zido@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-13 01:17:11 +0000
committerZido <Zido@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-13 01:17:11 +0000
commitc00ed0956fd4b1d822ee1323b0946472b8329d55 (patch)
treecc6fe9e6c3df2b2b4454138d9ac629c28fb71071 /src
parent67f9690315ec4d42f397a234ffe509fbf9d23ced (diff)
downloadhercules-c00ed0956fd4b1d822ee1323b0946472b8329d55.tar.gz
hercules-c00ed0956fd4b1d822ee1323b0946472b8329d55.tar.bz2
hercules-c00ed0956fd4b1d822ee1323b0946472b8329d55.tar.xz
hercules-c00ed0956fd4b1d822ee1323b0946472b8329d55.zip
- Fixed a small typo in my code
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7649 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/pc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index e08c4242a..8c0d54fa2 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -1271,7 +1271,7 @@ int pc_bonus(struct map_session_data *sd,int type,int val)
status->rhw.atk+=val;
}
else if(sd->state.lr_flag == 1) {
- if(!(val<0 && ((val-val-val)>status->lhw.atk)))
+ if(!(val<0 && ((val-val-val)>status->lhw->atk)))
status->lhw->atk+=val;
}
break;
@@ -1281,7 +1281,7 @@ int pc_bonus(struct map_session_data *sd,int type,int val)
status->rhw.atk2+=val;
}
else if(sd->state.lr_flag == 1) {
- if(!(val<0 && ((val-val-val)>status->lhw.atk2)))
+ if(!(val<0 && ((val-val-val)>status->lhw->atk2)))
status->lhw->atk2+=val;
}
break;