summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-03-06 19:58:53 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-03-06 19:58:53 +0000
commit971b8b917ed569279ed03e02b733fb9819125d70 (patch)
tree61aaf7cb1fd3a582ce1ccd5d92c06147c0defab5 /src
parent2462d4ff90d5444883f4981f0229e223fbf80057 (diff)
downloadhercules-971b8b917ed569279ed03e02b733fb9819125d70.tar.gz
hercules-971b8b917ed569279ed03e02b733fb9819125d70.tar.bz2
hercules-971b8b917ed569279ed03e02b733fb9819125d70.tar.xz
hercules-971b8b917ed569279ed03e02b733fb9819125d70.zip
- Corrected pc_checkitem not behaving correctly when you had more than one equip with a restricted card.
- Fixed non-chatroom owners being able to kick others from the chatroom. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12311 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/skill.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 11acaa106..c80e46f57 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -6432,7 +6432,8 @@ struct skill_unit_group* skill_unitsetting (struct block_list *src, short skilli
if(range<=0)
map_foreachincell(skill_cell_overlap,src->m,ux,uy,BL_SKILL,skillid,&alive, src);
- if( alive && map_getcell(src->m,ux,uy,CELL_CHKWALL) )
+ //Song/dances/encores are displayed even over pits/walls.
+ if( alive && map_getcell(src->m,ux,uy,CELL_CHKWALL) && !group->state.song_dance )
alive = 0;
if( alive && battle_config.skill_wall_check && !path_search_long(NULL,src->m,ux,uy,x,y,CELL_CHKWALL) )