summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-02-15 15:12:35 +0000
committercelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-02-15 15:12:35 +0000
commit089fab93c703affc2c4be378f59232d9d7c36f66 (patch)
tree26752f66986d338bc93869d6ea91bd4712c7d4c1 /src
parent236ba4d2ef6a5e82747b92e11efb807fcfbd8f3d (diff)
downloadhercules-089fab93c703affc2c4be378f59232d9d7c36f66.tar.gz
hercules-089fab93c703affc2c4be378f59232d9d7c36f66.tar.bz2
hercules-089fab93c703affc2c4be378f59232d9d7c36f66.tar.xz
hercules-089fab93c703affc2c4be378f59232d9d7c36f66.zip
* Allow Potion Pitcher to be able to cast on yourself
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1112 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/skill.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index fb5cd1e40..78849469c 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -3983,10 +3983,6 @@ int skill_castend_nodamage_id( struct block_list *src, struct block_list *bl,int
struct block_list tbl;
int i,x,hp = 0,sp = 0;
if(sd) {
- if(sd==dstsd) { // cancel use on oneself
- map_freeblock_unlock();
- return 1;
- }
x = skilllv%11 - 1;
i = pc_search_inventory(sd,skill_db[skillid].itemid[x]);
if(i < 0 || skill_db[skillid].itemid[x] <= 0) {