summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-26 18:49:46 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-26 18:49:46 +0000
commit66b2cadb9bcb6ad125cb18cdbea903a63ad0d925 (patch)
treed5fbc354d0db815d28c71e31f8e48b7e272d3ac4 /src/map/skill.c
parent7924f0a9251dba9dbd7acae7d6bff3cb8610ab9b (diff)
downloadhercules-66b2cadb9bcb6ad125cb18cdbea903a63ad0d925.tar.gz
hercules-66b2cadb9bcb6ad125cb18cdbea903a63ad0d925.tar.bz2
hercules-66b2cadb9bcb6ad125cb18cdbea903a63ad0d925.tar.xz
hercules-66b2cadb9bcb6ad125cb18cdbea903a63ad0d925.zip
- Added a wrapper to delete_timer so it prints out from where the invocation was done.
- Fixed some unsigned warnings. - Fixed Splash attacks consuming 2 ammo on each attack. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9718 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 2d5bd6566..c144b4c5d 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -3217,6 +3217,7 @@ int skill_castend_damage_id (struct block_list* src, struct block_list *bl, int
sd->splash_range, BL_CHAR,
src, skillid, skilllv, tick, flag | BCT_ENEMY | 1,
skill_castend_damage_id);
+ flag|=1; //Set flag to 1 so ammo is not double-consumed. [Skotlex]
}
}
break;