diff options
author | Haru <haru@dotalux.com> | 2018-05-01 19:23:29 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2018-05-01 19:24:34 +0200 |
commit | 3f6e0922d66d7ffc6a655fbd4e8bc59736e844fb (patch) | |
tree | 421ac8865c1534a3411c862bfd5a9648e32c619d /src/map/skill.c | |
parent | 0622261073b6f4f0160cb0df150d3e07483d9b1b (diff) | |
download | hercules-3f6e0922d66d7ffc6a655fbd4e8bc59736e844fb.tar.gz hercules-3f6e0922d66d7ffc6a655fbd4e8bc59736e844fb.tar.bz2 hercules-3f6e0922d66d7ffc6a655fbd4e8bc59736e844fb.tar.xz hercules-3f6e0922d66d7ffc6a655fbd4e8bc59736e844fb.zip |
Fix the name of the monsters summoned by SA_SUMMONMONSTER
- The displayed name was " --ja--" due to an extra space inside a string.
- Error introduced in 2012, commit d9d3adf3fd4795bf2483ec8549ddc30e01629db
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 87e869ec7..15a2cfa27 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -6304,7 +6304,8 @@ int skill_castend_nodamage_id(struct block_list *src, struct block_list *bl, uin break; case SA_SUMMONMONSTER: clif->skill_nodamage(src,bl,skill_id,skill_lv,1); - if (sd) mob->once_spawn(sd, src->m, src->x, src->y," --ja--", -1, 1, "", SZ_SMALL, AI_NONE); + if (sd != NULL) + mob->once_spawn(sd, src->m, src->x, src->y, "--ja--", -1, 1, "", SZ_SMALL, AI_NONE); break; case SA_LEVELUP: clif->skill_nodamage(src,bl,skill_id,skill_lv,1); |