summaryrefslogtreecommitdiff
path: root/src/map/status.h
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-11 23:44:35 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-11 23:44:35 +0000
commit290a5c8b93c7361c80e8328197c5a25dcf5aebce (patch)
treeecfe6ef0b394d48b8225531c722458dae1cc9f2d /src/map/status.h
parent415e738feb188909dea60831aef07c4fb0fe0f17 (diff)
downloadhercules-290a5c8b93c7361c80e8328197c5a25dcf5aebce.tar.gz
hercules-290a5c8b93c7361c80e8328197c5a25dcf5aebce.tar.bz2
hercules-290a5c8b93c7361c80e8328197c5a25dcf5aebce.tar.xz
hercules-290a5c8b93c7361c80e8328197c5a25dcf5aebce.zip
Renewal Weapon MATK boost fix, bugreport:5115
Fixed Renewal DEF (r15051) char/short issue git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15066 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.h')
-rw-r--r--src/map/status.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/map/status.h b/src/map/status.h
index 4bf0b627d..27d60b5a9 100644
--- a/src/map/status.h
+++ b/src/map/status.h
@@ -1494,7 +1494,11 @@ int status_get_lv(struct block_list *bl);
#define status_get_luk(bl) status_get_status_data(bl)->luk
#define status_get_hit(bl) status_get_status_data(bl)->hit
#define status_get_flee(bl) status_get_status_data(bl)->flee
-signed char status_get_def(struct block_list *bl);
+#if RRMODE
+ short status_get_def(struct block_list *bl);
+#else
+ signed char status_get_def(struct block_list *bl);
+#endif
#define status_get_mdef(bl) status_get_status_data(bl)->mdef
#define status_get_flee2(bl) status_get_status_data(bl)->flee2
#define status_get_def2(bl) status_get_status_data(bl)->def2