summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-18 13:53:58 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-18 13:53:58 +0300
commit6770f639885ab8447d101d0dba79fbe26b9c5bb5 (patch)
tree0c9076923f62a639b86bfa215ce51d13c085bb48 /src/map/clif.c
parent1c3d3c806b743515dddc024c7e0109c853338a3b (diff)
downloadhercules-6770f639885ab8447d101d0dba79fbe26b9c5bb5.tar.gz
hercules-6770f639885ab8447d101d0dba79fbe26b9c5bb5.tar.bz2
hercules-6770f639885ab8447d101d0dba79fbe26b9c5bb5.tar.xz
hercules-6770f639885ab8447d101d0dba79fbe26b9c5bb5.zip
Fix sending 0x908 packet.
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 47b0a5f45..3ad3f0c76 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -17070,7 +17070,7 @@ void clif_favorite_item(struct map_session_data* sd, unsigned short index) {
WFIFOHEAD(fd,packet_len(0x908));
WFIFOW(fd,0) = 0x908;
WFIFOW(fd,2) = index+2;
- WFIFOL(fd,4) = (sd->status.inventory[index].favorite == 1) ? 0 : 1;
+ WFIFOB(fd,4) = (sd->status.inventory[index].favorite == 1) ? 0 : 1;
WFIFOSET(fd,packet_len(0x908));
}