summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authormalufett <malufett.eat.my.binaries@gmail.com>2013-03-30 16:50:02 +0800
committermalufett <malufett.eat.my.binaries@gmail.com>2013-03-30 16:50:02 +0800
commite66463494c02b61b38dd256827f796640acfce6d (patch)
tree7107650922bbec4ec2550a18cac52dd0e51c9c4e /src/map/skill.c
parenta89d501fc60b12a997a262429cb4515af9dad69e (diff)
downloadhercules-e66463494c02b61b38dd256827f796640acfce6d.tar.gz
hercules-e66463494c02b61b38dd256827f796640acfce6d.tar.bz2
hercules-e66463494c02b61b38dd256827f796640acfce6d.tar.xz
hercules-e66463494c02b61b38dd256827f796640acfce6d.zip
Fixed Bug #7139
-Follow up for the Pincode Feature. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index ea70e2fe2..d2a08bd77 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -13706,7 +13706,7 @@ int skill_vfcastfix (struct block_list *bl, double time, uint16 skill_id, uint16
return 0;
if( bl->type == BL_MOB ) // mobs casttime is fixed nothing to alter.
- return time;
+ return (int)time;
if( fixed == 0 ){
fixed = (int)time * 20 / 100; // fixed time