diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-12-07 07:35:31 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-12-07 07:35:31 +0000 |
commit | 182cedd95fe67ac29cbc08123cc999cf8cf9bfaf (patch) | |
tree | a81a958e5e9cd875d3a242eb499214193e0abb32 /src/map/clif.c | |
parent | dfc897bd5db9ee3b72cfc72d0f2d22955477d50b (diff) | |
download | hercules-182cedd95fe67ac29cbc08123cc999cf8cf9bfaf.tar.gz hercules-182cedd95fe67ac29cbc08123cc999cf8cf9bfaf.tar.bz2 hercules-182cedd95fe67ac29cbc08123cc999cf8cf9bfaf.tar.xz hercules-182cedd95fe67ac29cbc08123cc999cf8cf9bfaf.zip |
- Insignificant cleanups.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11866 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 5417b0940..8707d53f6 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -754,8 +754,9 @@ static int clif_set_unit_idle(struct block_list* bl, unsigned char* buffer, bool struct view_data* vd = status_get_viewdata(bl); unsigned char *buf = WBUFP(buffer,0); bool type = !pcdb_checkid(vd->class_); +#if PACKETVER >= 7 unsigned short offset = 0; - +#endif BL_CAST(BL_PC, bl, sd); if(type) @@ -863,7 +864,9 @@ static int clif_set_unit_walking(struct block_list* bl, struct unit_data* ud, un struct status_change* sc = status_get_sc(bl); struct view_data* vd = status_get_viewdata(bl); unsigned char* buf = WBUFP(buffer,0); +#if PACKETVER >= 7 unsigned short offset = 0; +#endif BL_CAST(BL_PC, bl, sd); |