summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-06-14 08:56:59 -0300
committershennetsind <ind@henn.et>2013-06-14 08:56:59 -0300
commit35dcafcc79892075bfbd5087b44116c6328cc533 (patch)
treee3f0384980e03ef7baa41ea91dddf4ed4a701962 /src/map/status.c
parent5a942993dd12ae7d85b1633a58b0dc23f85832c2 (diff)
parent074b15c84bf9b624eee18ba31587d08d0a94ed49 (diff)
downloadhercules-35dcafcc79892075bfbd5087b44116c6328cc533.tar.gz
hercules-35dcafcc79892075bfbd5087b44116c6328cc533.tar.bz2
hercules-35dcafcc79892075bfbd5087b44116c6328cc533.tar.xz
hercules-35dcafcc79892075bfbd5087b44116c6328cc533.zip
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'src/map/status.c')
-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 096e673c2..8363b8021 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -10916,7 +10916,7 @@ int status_get_matk(struct block_list *bl, int flag){
}
if ((bl->type&BL_HOM && battle_config.hom_setting&0x20) //Hom Min Matk is always the same as Max Matk
- || sc->data[SC_RECOGNIZEDSPELL])
+ || (sc && sc->data[SC_RECOGNIZEDSPELL]))
status->matk_min = status->matk_max;
#ifdef RENEWAL