diff options
author | Zido <Zido@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-13 01:17:11 +0000 |
---|---|---|
committer | Zido <Zido@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-13 01:17:11 +0000 |
commit | c00ed0956fd4b1d822ee1323b0946472b8329d55 (patch) | |
tree | cc6fe9e6c3df2b2b4454138d9ac629c28fb71071 /src/map/pc.c | |
parent | 67f9690315ec4d42f397a234ffe509fbf9d23ced (diff) | |
download | hercules-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/map/pc.c')
-rw-r--r-- | src/map/pc.c | 4 |
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; |