diff options
author | shennetsind <ind@henn.et> | 2013-06-14 08:56:59 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-06-14 08:56:59 -0300 |
commit | 35dcafcc79892075bfbd5087b44116c6328cc533 (patch) | |
tree | e3f0384980e03ef7baa41ea91dddf4ed4a701962 /src/map/status.c | |
parent | 5a942993dd12ae7d85b1633a58b0dc23f85832c2 (diff) | |
parent | 074b15c84bf9b624eee18ba31587d08d0a94ed49 (diff) | |
download | hercules-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.c | 2 |
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 |