Fixed a couple mismatching block locks
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16349 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
7b7c5d8b7d
commit
5af9566629
@ -4567,6 +4567,7 @@ enum damage_lv battle_weapon_attack(struct block_list* src, struct block_list* t
|
||||
status_damage(target,e_bl,damage,0,0,0);
|
||||
// Just show damage in target.
|
||||
clif_damage(src, target, tick, wd.amotion, wd.dmotion, damage, wd.div_, wd.type, wd.damage2 );
|
||||
map_freeblock_unlock();
|
||||
return ATK_NONE;
|
||||
}
|
||||
}
|
||||
|
@ -8348,6 +8348,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
|
||||
if(!mapindex)
|
||||
{ //Given map not found?
|
||||
clif_skill_fail(sd,skillid,USESKILL_FAIL_LEVEL,0);
|
||||
map_freeblock_unlock();
|
||||
return 0;
|
||||
}
|
||||
pc_setpos(sd, mapindex, x, y, CLR_TELEPORT);
|
||||
|
Loading…
x
Reference in New Issue
Block a user