diff options
author | KingPin <none@none> | 2008-11-02 16:53:46 -0600 |
---|---|---|
committer | KingPin <none@none> | 2008-11-02 16:53:46 -0600 |
commit | d5beb2bbe97afa0e50df8a2cef49bcac4a607f4a (patch) | |
tree | 4ce9fec826220b2476406e38915a15b6d00a4ce1 /src/trinitycore/Master.cpp | |
parent | 6633d3c680d4f75d743f705e9b26278674f11ee0 (diff) |
[svn] *Implement new player conditions CONDITION_NO_AURA, CONDITION_ACTIVE_EVENT
* Default behaviour of pets for creatures changed to REACT_DEFENSIVE
* Disallowed sending wrapped items as COD
* Prevent loading and saving single target auras for pet in same way as already implemented for player
* Correctly limit use some flask types to zones.
* Fixed extracting common.MPQ under *nix
* Many small xleanups and fixes.
** mangos merge rev.
TEST REV so be careful of creepy crawly bugs!
--HG--
branch : trunk
Diffstat (limited to 'src/trinitycore/Master.cpp')
-rw-r--r-- | src/trinitycore/Master.cpp | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/trinitycore/Master.cpp b/src/trinitycore/Master.cpp index 7ee10abe35c..9dcdc721f44 100644 --- a/src/trinitycore/Master.cpp +++ b/src/trinitycore/Master.cpp @@ -457,17 +457,9 @@ bool Master::_StartDB() ///- Clean the database before starting clearOnlineAccounts(); - QueryResult* result = WorldDatabase.Query("SELECT version FROM db_version LIMIT 1"); - if(result) - { - Field* fields = result->Fetch(); - - sLog.outString("Using %s", fields[0].GetString()); - delete result; - } - else - sLog.outString("Using unknown world database."); + sWorld.LoadDBVersion(); + sLog.outString("Using %s", sWorld.GetDBVersion()); return true; } |