summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2014-10-05 02:11:23 -0300
committershennetsind <ind@henn.et>2014-10-05 02:11:23 -0300
commita46b190764df4cce0b378bc691218ac0814a5673 (patch)
tree37c8e37d62f9f4502640cd685495b9418580cfe6 /src/map/pc.c
parentf51106c9312e9f1b434fc4460416d80db56ac547 (diff)
downloadhercules-a46b190764df4cce0b378bc691218ac0814a5673.tar.gz
hercules-a46b190764df4cce0b378bc691218ac0814a5673.tar.bz2
hercules-a46b190764df4cce0b378bc691218ac0814a5673.tar.xz
hercules-a46b190764df4cce0b378bc691218ac0814a5673.zip
Follow up b9b32ac7609e
Fixes issue where kicking a online guild member (on a server with GP_BOUND_ITEMS defined) would render the guilds storage (if not previously loaded during the servers lifespan (since boot)) to be wiped. Special Thanks to Xgear! Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index d96e69aa5..194ea8264 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -9212,7 +9212,7 @@ int pc_checkitem(struct map_session_data *sd)
}
if (sd->guild) {
- struct guild_storage *guild_storage = gstorage->id2storage2(sd->guild->guild_id);
+ struct guild_storage *guild_storage = gstorage->id2storage(sd->guild->guild_id);
if (guild_storage) {
for( i = 0; i < MAX_GUILD_STORAGE; i++ ) {
id = guild_storage->items[i].nameid;