diff options
author | Machiavelli <none@none> | 2009-10-23 16:03:22 +0200 |
---|---|---|
committer | Machiavelli <none@none> | 2009-10-23 16:03:22 +0200 |
commit | 9a198e996975bb548a4a466f9dbeb934b420babb (patch) | |
tree | c38f8383c88cc2569fa3eb1431914aaf106cdcb7 | |
parent | c399333b6ba233e1d571335582ca6aa3423b218f (diff) |
Merge [8652] Lock typo fixed. Author: ApoC
--HG--
branch : trunk
-rw-r--r-- | src/game/ObjectAccessor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/ObjectAccessor.cpp b/src/game/ObjectAccessor.cpp index 9eaf674eaeb..72e448a5dd8 100644 --- a/src/game/ObjectAccessor.cpp +++ b/src/game/ObjectAccessor.cpp @@ -173,7 +173,7 @@ ObjectAccessor::FindPlayerByName(const char *name) void ObjectAccessor::SaveAllPlayers() { - Guard guard(*HashMapHolder<Player*>::GetLock()); + Guard guard(*HashMapHolder<Player>::GetLock()); HashMapHolder<Player>::MapType& m = HashMapHolder<Player>::GetContainer(); HashMapHolder<Player>::MapType::iterator itr = m.begin(); for (; itr != m.end(); ++itr) |