aboutsummaryrefslogtreecommitdiff
path: root/src/game/ObjectMgr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/ObjectMgr.cpp')
-rw-r--r--src/game/ObjectMgr.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp
index e44207c63db..77048650708 100644
--- a/src/game/ObjectMgr.cpp
+++ b/src/game/ObjectMgr.cpp
@@ -3250,9 +3250,12 @@ void ObjectMgr::LoadGuilds()
delete newguild;
continue;
}
+ newguild->LoadGuildEventLogFromDB();
+ newguild->LoadGuildBankEventLogFromDB();
+ newguild->LoadGuildBankFromDB();
AddGuild(newguild);
- }while (result->NextRow());
+ } while (result->NextRow());
//delete unused LogGuid records in guild_eventlog and guild_bank_eventlog table
//you can comment these lines if you don't plan to change CONFIG_GUILD_EVENT_LOG_COUNT and CONFIG_GUILD_BANK_EVENT_LOG_COUNT