summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-11-26 04:31:54 -0200
committershennetsind <ind@henn.et>2013-11-26 04:31:54 -0200
commit1fea20bd718cb3c694dd9aaae67352b894184ddb (patch)
tree134037c6c24220db83a058ca75d322bab8f9a3da
parente1716177b5e1525c572a6f5e5d51a7f3f56b2a17 (diff)
downloadhercules-1fea20bd718cb3c694dd9aaae67352b894184ddb.tar.gz
hercules-1fea20bd718cb3c694dd9aaae67352b894184ddb.tar.bz2
hercules-1fea20bd718cb3c694dd9aaae67352b894184ddb.tar.xz
hercules-1fea20bd718cb3c694dd9aaae67352b894184ddb.zip
Fixed Bug 7855
Follow up 61841e7861f63d98ecb417e2bf17135970b79c5a http://hercules.ws/board/tracker/issue-7855-error-compiling-vb-2013/ Signed-off-by: shennetsind <ind@henn.et>
-rw-r--r--src/map/clif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 9cefb56f2..2c71c4360 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -4604,13 +4604,13 @@ void clif_getareachar_skillunit(struct block_list *bl, struct skill_unit *su, en
p.job = su->group->unit_id;
#if PACKETVER >= 20110718
- p.RadiusRange = su->range;
+ p.RadiusRange = (unsigned char)su->range;
#endif
p.isVisible = 1;
#if PACKETVER >= 20130731
- p.level = (unsigned char)unit->group->skill_lv;
+ p.level = (unsigned char)su->group->skill_lv;
#endif
clif->send(&p,sizeof(p),bl,target);