diff options
author | momacabu <momacabu@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-11-13 00:27:40 +0000 |
---|---|---|
committer | momacabu <momacabu@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-11-13 00:27:40 +0000 |
commit | 5e59d3abbd6547ff48a2571cdc77b29ab1326c04 (patch) | |
tree | a5d44d71aeac27ed75eebca5f27ff99b7a89889b /src/map/skill.c | |
parent | 4cc80656aeb5af0e810a5f7c1ef28624b1328dbd (diff) | |
download | hercules-5e59d3abbd6547ff48a2571cdc77b29ab1326c04.tar.gz hercules-5e59d3abbd6547ff48a2571cdc77b29ab1326c04.tar.bz2 hercules-5e59d3abbd6547ff48a2571cdc77b29ab1326c04.tar.xz hercules-5e59d3abbd6547ff48a2571cdc77b29ab1326c04.zip |
- Fixed bugreport:6887, a variable was not initialized;
- Make @addwarp <npc name> parameter mandatory as per requests;
- Changed SCB_ALL to SCB_BASE on SC_INTRAVISION case, it should be enough.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16922 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 5d03b739a..c01da31d5 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -4692,7 +4692,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in return skill_castend_damage_id (src, bl, skillid, skilllv, tick, flag); case MH_STEINWAND: { struct block_list *s_src = battle_get_master(src); - short ret; + short ret = 0; if(!skill_check_unit_range(src, src->x, src->y, skillid, skilllv)) //prevent reiteration ret = skill_castend_pos2(src,src->x,src->y,skillid,skilllv,tick,flag); //cast on homon if(s_src && !skill_check_unit_range(s_src, s_src->x, s_src->y, skillid, skilllv)) |