aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/ObjectAccessor.cpp2
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)