From 7f9f6e1b84061a7d393debf37395c8b4a2667db1 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Thu, 22 Aug 2013 16:59:09 -0300 Subject: Fixed Bug #7652 damage storage has been changed from int32 to int64 within areas where it could otherwise modified beyond the limit and get screwed up, this solves all related problems within any skills, not only asura. http://hercules.ws/board/tracker/issue-7652-asura-strike-overdamage/ Signed-off-by: shennetsind --- src/map/unit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/unit.c') diff --git a/src/map/unit.c b/src/map/unit.c index 41d661169..22c7165e4 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -2023,7 +2023,7 @@ int unit_counttargeted(struct block_list* bl) /*========================================== * *------------------------------------------*/ -int unit_fixdamage(struct block_list *src,struct block_list *target,unsigned int tick,int sdelay,int ddelay,int damage,int div,int type,int damage2) +int unit_fixdamage(struct block_list *src,struct block_list *target,unsigned int tick,int sdelay,int ddelay,int64 damage,int div,int type,int64 damage2) { nullpo_ret(target); -- cgit v1.2.3-60-g2f50