summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-18 16:14:44 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-18 16:14:44 +0000
commit3478d705f736e718713cac0e73f9998986f7b07e (patch)
treed3d0ff676d2c123bbdc56adcca92912246a58ca4 /src/map/unit.c
parente1c6063f5c4072a4273f7dc9580df96c402045cb (diff)
downloadhercules-3478d705f736e718713cac0e73f9998986f7b07e.tar.gz
hercules-3478d705f736e718713cac0e73f9998986f7b07e.tar.bz2
hercules-3478d705f736e718713cac0e73f9998986f7b07e.tar.xz
hercules-3478d705f736e718713cac0e73f9998986f7b07e.zip
- Fixed a compile warning. Some minor format cleanups.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7733 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index ebdab76a3..9ada29c7a 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -768,7 +768,7 @@ int unit_skilluse_id2(struct block_list *src, int target_id, int skill_num, int
//TODO: here we should place and correct skills that should target homun automatically. However some work still needs be done as "dead homuns" are deleted from memory, and as such, you can't really target them. [Skotlex]
case AM_REST:
// case AM_RESURRECTHOMUN:
- target = sd->hd;
+ target = (struct block_list*)sd->hd;
if (!target) {
clif_skill_fail(sd,skill_num,0,0);
return 0;