diff options
author | Haru <haru@dotalux.com> | 2014-05-21 15:59:59 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2014-05-21 15:59:59 +0200 |
commit | cd1be22f3a10c2da4817ebf10cd1425f443c6a10 (patch) | |
tree | 071e2e1b14ad674e06e8f0191af055b3aa4c999b /src/map/status.c | |
parent | bd86d05a59e9680ff8c645854a546617a9caaf2e (diff) | |
download | hercules-cd1be22f3a10c2da4817ebf10cd1425f443c6a10.tar.gz hercules-cd1be22f3a10c2da4817ebf10cd1425f443c6a10.tar.bz2 hercules-cd1be22f3a10c2da4817ebf10cd1425f443c6a10.tar.xz hercules-cd1be22f3a10c2da4817ebf10cd1425f443c6a10.zip |
Corrected a nullpo report in 4c8d773d72ae134f7cc4d43861104ecd9f4ae134
Special thanks to ossi0110
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 e76cd86a3..a1a7e1969 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -6944,7 +6944,7 @@ int status_change_start(struct block_list *src, struct block_list *bl, enum sc_t return 0; break; case SC_CLOAKING: - if( !skill->can_cloak(sd, bl) ) + if (sd && !skill->can_cloak(sd)) return 0; break; case SC_MODECHANGE: |