summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-17 06:45:58 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-17 06:45:58 +0000
commita584d6ac7be8312d4407b138a320f7c4bce8972a (patch)
tree3ee5fb8daf875ac8ca862acf7035498384d4053b /src/map/mob.c
parent729424c1ebb6762f49b85c97d56dabb5975958a1 (diff)
downloadhercules-a584d6ac7be8312d4407b138a320f7c4bce8972a.tar.gz
hercules-a584d6ac7be8312d4407b138a320f7c4bce8972a.tar.bz2
hercules-a584d6ac7be8312d4407b138a320f7c4bce8972a.tar.xz
hercules-a584d6ac7be8312d4407b138a320f7c4bce8972a.zip
* Another compiler warning...
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5639 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index ba4bb5083..b54edaab7 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -2293,7 +2293,7 @@ int mob_damage(struct block_list *src,struct mob_data *md,int damage,int type)
sprintf(buffer, "$@%d_attacker", md->bl.id);
set_var(NULL, buffer, (void *)src->id);
sprintf(buffer, "$@%d_attacktype", md->bl.id);
- set_var(NULL, buffer, (void *)src->type);
+ set_var(NULL, buffer, (void *)(int)src->type);
sprintf(buffer, "%s::OnDamage", md->nd->exname);
npc_event_do(buffer);
return 0;