summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-16 16:08:01 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-16 16:08:01 +0000
commit6e4d98865963ef3e85df488716e9a97bfcacc98b (patch)
tree02501055909d8db00138b69db2a8e8c841f0cc72 /src/map/mob.c
parentd5155d42388cf3540fdf415512c2bfad0c8d5f8e (diff)
downloadhercules-6e4d98865963ef3e85df488716e9a97bfcacc98b.tar.gz
hercules-6e4d98865963ef3e85df488716e9a97bfcacc98b.tar.bz2
hercules-6e4d98865963ef3e85df488716e9a97bfcacc98b.tar.xz
hercules-6e4d98865963ef3e85df488716e9a97bfcacc98b.zip
* mob_chat_sub fix. Added buildin_pcblockmove.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5628 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index e239ce836..ba4bb5083 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -2291,9 +2291,9 @@ int mob_damage(struct block_list *src,struct mob_data *md,int damage,int type)
if(src){
if(md->nd){
sprintf(buffer, "$@%d_attacker", md->bl.id);
- set_var(NULL, buffer, src->id);
+ set_var(NULL, buffer, (void *)src->id);
sprintf(buffer, "$@%d_attacktype", md->bl.id);
- set_var(NULL, buffer, src->type);
+ set_var(NULL, buffer, (void *)src->type);
sprintf(buffer, "%s::OnDamage", md->nd->exname);
npc_event_do(buffer);
return 0;