Merge [8652] Lock typo fixed. Author: ApoC

--HG--
branch : trunk
This commit is contained in:
Machiavelli
2009-10-23 16:03:22 +02:00
parent c399333b6b
commit 9a198e9969

View File

@@ -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)