diff options
author | megamage <none@none> | 2009-02-09 20:09:03 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-02-09 20:09:03 -0600 |
commit | b8d4c243590c0d1d45e4f53c2605b0cd9cf710f0 (patch) | |
tree | c98729128188987e99f84ca8afbbcc7d0dbf9d0c /src/game/InstanceSaveMgr.cpp | |
parent | 91356d97d5adc42ff5096386a5339983d335c689 (diff) |
[7248] Check `battlemaster_entry` data at loading. Code cleanups. Author: zhenya
--HG--
branch : trunk
Diffstat (limited to 'src/game/InstanceSaveMgr.cpp')
-rw-r--r-- | src/game/InstanceSaveMgr.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/InstanceSaveMgr.cpp b/src/game/InstanceSaveMgr.cpp index 06af9aaeffb..ad827a07bf2 100644 --- a/src/game/InstanceSaveMgr.cpp +++ b/src/game/InstanceSaveMgr.cpp @@ -270,7 +270,7 @@ void InstanceSaveManager::CleanupInstances() // creature_respawn and gameobject_respawn are in another database // first, obtain total instance set - std::set< uint32 > InstanceSet; + std::set<uint32> InstanceSet; QueryResult *result = CharacterDatabase.Query("SELECT id FROM instance"); if( result ) { @@ -322,7 +322,7 @@ void InstanceSaveManager::PackInstances() // TODO: this can be done a LOT more efficiently // obtain set of all associations - std::set< uint32 > InstanceSet; + std::set<uint32> InstanceSet; // all valid ids are in the instance table // any associations to ids not in this table are assumed to be @@ -344,7 +344,7 @@ void InstanceSaveManager::PackInstances() uint32 InstanceNumber = 1; // we do assume std::set is sorted properly on integer value - for (std::set< uint32 >::iterator i = InstanceSet.begin(); i != InstanceSet.end(); ++i) + for (std::set<uint32>::iterator i = InstanceSet.begin(); i != InstanceSet.end(); ++i) { if (*i != InstanceNumber) { |