diff options
author | Haru <haru@dotalux.com> | 2013-09-06 18:10:02 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2013-09-06 18:10:02 +0200 |
commit | 06c4fda610114d428ff5381dbe2c430442e12491 (patch) | |
tree | 75a73593bede2ac995be47c3bf54549ae69d78ce /src/map/status.c | |
parent | 272ff4508a45341d683df71b22898851fa49e7b2 (diff) | |
download | hercules-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/map/status.c')
-rw-r--r-- | src/map/status.c | 2 |
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; |