summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-09-06 18:10:02 +0200
committerHaru <haru@dotalux.com>2013-09-06 18:10:02 +0200
commit06c4fda610114d428ff5381dbe2c430442e12491 (patch)
tree75a73593bede2ac995be47c3bf54549ae69d78ce /src
parent272ff4508a45341d683df71b22898851fa49e7b2 (diff)
downloadhercules-06c4fda610114d428ff5381dbe2c430442e12491.tar.gz
hercules-06c4fda610114d428ff5381dbe2c430442e12491.tar.bz2
hercules-06c4fda610114d428ff5381dbe2c430442e12491.tar.xz
hercules-06c4fda610114d428ff5381dbe2c430442e12491.zip
Fixed a mapserver crash due to uninitialized iterface functions
Caused by iStatus->get_total_m?def in pre-renewal. Follow-up to cccc5bc9. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src')
-rw-r--r--src/map/status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 014bcabf7..f50a7422f 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -11709,9 +11709,9 @@ void status_defaults(void) {
#ifdef RENEWAL
iStatus->base_matk = status_base_matk;
iStatus->get_weapon_atk = status_get_weapon_atk;
+#endif
iStatus->get_total_mdef = status_get_total_mdef;
iStatus->get_total_def = status_get_total_def;
-#endif
iStatus->get_matk = status_get_matk;