summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-21 13:29:45 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-21 13:29:45 +0000
commitc2ca8110f6a3cab0171d32920b7a724d0c180068 (patch)
treecce3f3a36fd692a9c7d87963ef4b14dd9c57103b /src/map/clif.c
parentedaa6dcc93fd64bd961fcbc701e7ce16bf31a350 (diff)
downloadhercules-c2ca8110f6a3cab0171d32920b7a724d0c180068.tar.gz
hercules-c2ca8110f6a3cab0171d32920b7a724d0c180068.tar.bz2
hercules-c2ca8110f6a3cab0171d32920b7a724d0c180068.tar.xz
hercules-c2ca8110f6a3cab0171d32920b7a724d0c180068.zip
- Moved subtype from struct block_list to struct npc_data.
- Fixed some compilation warnings. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11772 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 9f168522c..1c0a0b6ac 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -1074,7 +1074,6 @@ static int clif_set_unit_walking(struct block_list* bl, struct unit_data* ud, un
*------------------------------------------*/
static int clif_set_unit_spawned(struct block_list* bl, unsigned char* buf)
{
- struct status_change* sc = status_get_sc(bl);
struct view_data* vd = status_get_viewdata(bl);
if( pcdb_checkid(vd->class_) )
@@ -3583,7 +3582,7 @@ void clif_getareachar_unit(struct map_session_data* sd,struct block_list *bl)
uint8 buf[128];
struct unit_data *ud;
struct view_data *vd;
- int len, fd = sd->fd;
+ int len;
vd = status_get_viewdata(bl);
if (!vd || vd->class_ == INVISIBLE_CLASS)