diff options
| author | n0n4m3 <none@none> | 2010-02-15 14:30:12 +0100 |
|---|---|---|
| committer | n0n4m3 <none@none> | 2010-02-15 14:30:12 +0100 |
| commit | 490f4bf7ec0921b7129233f121b812051d4f2335 (patch) | |
| tree | d17476b57d4700b3758562a39de99a5680dfc73f /src/game/ObjectMgr.cpp | |
| parent | a5585ceb3cc18d22c6353f0b22db7f2574055635 (diff) | |
Fix some problem with Guild Bank after switch to client version 3.3.2, also cleanup code. Thx TOM_RUS.
--HG--
branch : trunk
Diffstat (limited to 'src/game/ObjectMgr.cpp')
| -rw-r--r-- | src/game/ObjectMgr.cpp | 5 |
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 |
