summaryrefslogtreecommitdiff
path: root/src/map/status.c
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.c
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.c')
-rw-r--r--src/map/status.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/map/status.c b/src/map/status.c
index dd528660b..ce286d89a 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -4782,8 +4782,11 @@ struct status_data *status_get_base_status(struct block_list *bl)
return NULL;
}
}
-
-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
{
struct unit_data *ud;
struct status_data *status = status_get_status_data(bl);