diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-27 16:28:00 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-27 16:28:00 +0000 |
commit | 3e29ca7edd4e8618fa24e6a2c65e35a3baeddad8 (patch) | |
tree | d4c0a477d799150cc8ca2de0a986bd4a7adc2275 /src/map/unit.c | |
parent | e5f192830eb4334ba335872062618961952ca38e (diff) | |
download | hercules-3e29ca7edd4e8618fa24e6a2c65e35a3baeddad8.tar.gz hercules-3e29ca7edd4e8618fa24e6a2c65e35a3baeddad8.tar.bz2 hercules-3e29ca7edd4e8618fa24e6a2c65e35a3baeddad8.tar.xz hercules-3e29ca7edd4e8618fa24e6a2c65e35a3baeddad8.zip |
- Changed npc_click declaration to receive an npc structure rather than a generic block-list one.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7925 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r-- | src/map/unit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/unit.c b/src/map/unit.c index 19e01f2ea..ddd9fac3c 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -1097,7 +1097,7 @@ int unit_attack(struct block_list *src,int target_id,int type) } if(src->type == BL_PC && target->type==BL_NPC) { // monster npcs [Valaris] - npc_click((TBL_PC*)src,target); // submitted by leinsirk10 [Celest] + npc_click((TBL_PC*)src,(TBL_NPC*)target); // submitted by leinsirk10 [Celest] return 0; } |