summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZido <Zido@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-13 01:19:58 +0000
committerZido <Zido@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-13 01:19:58 +0000
commit02372bd5412ca093aecedee0769234dc9dada9c8 (patch)
tree8355cb30810014e0af2f92b68639f7aa6799e90d /src
parentc00ed0956fd4b1d822ee1323b0946472b8329d55 (diff)
downloadhercules-02372bd5412ca093aecedee0769234dc9dada9c8.tar.gz
hercules-02372bd5412ca093aecedee0769234dc9dada9c8.tar.bz2
hercules-02372bd5412ca093aecedee0769234dc9dada9c8.tar.xz
hercules-02372bd5412ca093aecedee0769234dc9dada9c8.zip
- More typos... What's wrong with me today??
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7650 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 8c0d54fa2..8402c1fa8 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -1329,7 +1329,7 @@ int pc_bonus(struct map_session_data *sd,int type,int val)
break;
case SP_MDEF1:
if(sd->state.lr_flag != 2) {
- if(!(val<0 && ((val-val-val)>status->matk_mdef))) {
+ if(!(val<0 && ((val-val-val)>status->mdef))) {
bonus = status->mdef + val;
status->mdef = cap_value(bonus, CHAR_MIN, CHAR_MAX);
}
@@ -1337,7 +1337,7 @@ int pc_bonus(struct map_session_data *sd,int type,int val)
break;
case SP_MDEF2:
if(sd->state.lr_flag != 2) {
- if(!(val<0 && ((val-val-val)>status->matk_mdef2))) {
+ if(!(val<0 && ((val-val-val)>status->mdef2))) {
bonus = status->mdef2 + val;
status->mdef2 = cap_value(bonus, SHRT_MIN, SHRT_MAX);
}