summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-01-10 03:24:45 +0100
committerHaru <haru@dotalux.com>2016-01-10 03:24:45 +0100
commit7f3fd6dbaaf9a71909979c1663e48a42aaaaba60 (patch)
treefd854596a702087d8fab1303869bcb6ce5073fae /src/map
parentc539ab8c255c5023202b2a5eb8322964a96b71c3 (diff)
downloadhercules-7f3fd6dbaaf9a71909979c1663e48a42aaaaba60.tar.gz
hercules-7f3fd6dbaaf9a71909979c1663e48a42aaaaba60.tar.bz2
hercules-7f3fd6dbaaf9a71909979c1663e48a42aaaaba60.tar.xz
hercules-7f3fd6dbaaf9a71909979c1663e48a42aaaaba60.zip
Fixed an accidental MAX_CART_DECORATION leftover
Follow-up to a0f25125a6239894a86d51ae8dcf6a06a4d0a380 Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map')
-rw-r--r--src/map/clif.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index b9c7afa2f..f30d87770 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -18635,16 +18635,16 @@ void clif_selectcart(struct map_session_data *sd)
fd = sd->fd;
- WFIFOHEAD(fd, 8 + MAX_CART_DECORATION);
+ WFIFOHEAD(fd, 8 + MAX_CARTDECORATION_CARTS);
WFIFOW(fd, 0) = 0x97f;
- WFIFOW(fd, 2) = 8 + MAX_CART_DECORATION;
+ WFIFOW(fd, 2) = 8 + MAX_CARTDECORATION_CARTS;
WFIFOL(fd, 4) = sd->status.account_id;
- for (i = 0; i < MAX_CART_DECORATION; i++) {
+ for (i = 0; i < MAX_CARTDECORATION_CARTS; i++) {
WFIFOB(fd, 8 + i) = MAX_BASE_CARTS + 1 + i;
}
- WFIFOSET(fd, 8 + MAX_CART_DECORATION);
+ WFIFOSET(fd, 8 + MAX_CARTDECORATION_CARTS);
#endif
}