summaryrefslogtreecommitdiff
path: root/src/map/intif.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/intif.c')
-rw-r--r--src/map/intif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/intif.c b/src/map/intif.c
index d077aa881..06f93f52e 100644
--- a/src/map/intif.c
+++ b/src/map/intif.c
@@ -1348,7 +1348,7 @@ int intif_parse_questlog(int fd)
if(!sd)
return -1;
- sd->avail_quests = sd->num_quests = (RFIFOB(fd, 2)-8)/sizeof(struct quest);
+ sd->avail_quests = sd->num_quests = (RFIFOW(fd, 2)-8)/sizeof(struct quest);
memset(&sd->quest_log, 0, sizeof(sd->quest_log));