From 608f959900968e83fd25231c72308fc608742dd5 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Wed, 12 Dec 2012 22:36:08 -0800 Subject: Remove guilds, finally If anyone in the future wonders why I did this, just look at how many lines of code this eliminates. --- src/map/chrif.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/map/chrif.cpp') diff --git a/src/map/chrif.cpp b/src/map/chrif.cpp index 3367f6f..ca4f9ff 100644 --- a/src/map/chrif.cpp +++ b/src/map/chrif.cpp @@ -120,11 +120,8 @@ int chrif_save (struct map_session_data *sd) WFIFOSET (char_fd, WFIFOW (char_fd, 2)); //For data sync - if (sd->state.storage_flag == 1) + if (sd->state.storage_open) storage_storage_save (sd->status.account_id, 0); - else if (sd->state.storage_flag == 2) - storage_guild_storagesave (sd->status.account_id, sd->status.guild_id, - 0); return 0; } -- cgit v1.2.3-70-g09d2