[8652] Lock typo fixed.

Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
ApoC 2009-10-16 20:41:39 +02:00
parent cf7ec4c456
commit 40b0612dfc
2 changed files with 2 additions and 2 deletions

View file

@ -175,7 +175,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)