summaryrefslogtreecommitdiff
path: root/src/map/status.h
diff options
context:
space:
mode:
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