Fixed market shop weight calculation

Fixes #1897
Thanks to @Angelic234
This commit is contained in:
Lemongrass3110 2017-02-06 23:30:05 +01:00
parent f2c27a86cb
commit 068d18c9d7

View File

@ -2051,7 +2051,7 @@ void clif_npc_market_open(struct map_session_data *sd, struct npc_data *nd) {
WFIFOB(fd, 6+c*13) = itemtype(id->nameid);
WFIFOL(fd, 7+c*13) = shop[i].value;
WFIFOL(fd,11+c*13) = shop[i].qty;
WFIFOW(fd,15+c*13) = (id->view_id > 0) ? id->view_id : id->nameid;
WFIFOW(fd,15+c*13) = id->weight;
c++;
}
}