summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-12-13 20:21:44 +0300
committerAndrei Karas <akaras@inbox.ru>2018-12-14 01:23:00 +0300
commitc34b4fbb432350c3632800b53a143a8f54ab7dbc (patch)
tree570fd3ce739af4cd364fd8880146f25300cfae60 /src/map/pc.c
parent8e1e7ee7fbf3785d77768ea36e63d4008293b0d0 (diff)
downloadhercules-c34b4fbb432350c3632800b53a143a8f54ab7dbc.tar.gz
hercules-c34b4fbb432350c3632800b53a143a8f54ab7dbc.tar.bz2
hercules-c34b4fbb432350c3632800b53a143a8f54ab7dbc.tar.xz
hercules-c34b4fbb432350c3632800b53a143a8f54ab7dbc.zip
Add packt ZC_INVENTORY_EXPANSION_INFO
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index d9e297e84..39358adf4 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -773,6 +773,7 @@ static int pc_setnewpc(struct map_session_data *sd, int account_id, int char_id,
sd->battle_status.speed = sd->base_status.speed = DEFAULT_WALK_SPEED;
sd->state.warp_clean = 1;
sd->catch_target_class = -1;
+ sd->inventorySize = 100;
return 0;
}
@@ -1380,6 +1381,7 @@ static bool pc_authok(struct map_session_data *sd, int login_id2, time_t expirat
pc->setpos(sd,sd->status.last_point.map,0,0,CLR_OUTSIGHT);
}
+ clif->inventoryExpansionInfo(sd);
clif->overweight_percent(sd);
clif->authok(sd);