summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-26 23:01:55 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-26 23:01:55 +0000
commit8c3ce0145c9e56de40092a6735f9fcdee60921ed (patch)
treefeb5f225113f5119e67c429949793b629940210c /src/map/clif.c
parent4f14362f9130681ad98788a46ac02b747969505a (diff)
downloadhercules-8c3ce0145c9e56de40092a6735f9fcdee60921ed.tar.gz
hercules-8c3ce0145c9e56de40092a6735f9fcdee60921ed.tar.bz2
hercules-8c3ce0145c9e56de40092a6735f9fcdee60921ed.tar.xz
hercules-8c3ce0145c9e56de40092a6735f9fcdee60921ed.zip
- Updated item_db.sql to current.
- Some small code-cleanups. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6298 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 8429b3d23..e83fc9ba9 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -3857,7 +3857,7 @@ void clif_getareachar_item(struct map_session_data* sd,struct flooritem_data* fi
*/
int clif_getareachar_skillunit(struct map_session_data *sd,struct skill_unit *unit)
{
- int fd/*, unit_id*/; // Unused? [Lance]
+ int fd;
struct block_list *bl;
fd=sd->fd;
@@ -3904,7 +3904,7 @@ int clif_getareachar_skillunit(struct map_session_data *sd,struct skill_unit *un
WFIFOL(fd, 2)=unit->bl.id;
WFIFOL(fd, 6)=unit->group->src_id;
WFIFOW(fd,10)=unit->bl.x;
- WFIFOW(fd,12)=unit_id;
+ WFIFOW(fd,12)=unit->bl.y;
WFIFOB(fd,14)=unit->group->unit_id;
WFIFOB(fd,15)=1;
if(unit->group->unit_id==UNT_GRAFFITI) { // Graffiti [Valaris]
@@ -8094,14 +8094,6 @@ void clif_parse_LoadEndAck(int fd,struct map_session_data *sd)
//[LuzZza]
clif_guild_send_onlineinfo(sd);
-/* Unneccesary due to mapflag "nosave" [Skotlex]
-// Stop players from spawning inside castles [Valaris]
- {
- struct guild_castle *gc=guild_mapname2gc(map[sd->bl.m].name);
- if (gc)
- pc_setpos(sd,sd->status.save_point.map,sd->status.save_point.x,sd->status.save_point.y,2);
- }
-*/
} else
//New 'night' effect by dynamix [Skotlex]
if (night_flag && map[sd->bl.m].flag.nightenabled)