mirror of
https://github.com/mangosfour/server.git
synced 2025-12-21 19:37:02 +00:00
[8652] Lock typo fixed.
Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
parent
cf7ec4c456
commit
40b0612dfc
2 changed files with 2 additions and 2 deletions
|
|
@ -175,7 +175,7 @@ ObjectAccessor::FindPlayerByName(const char *name)
|
||||||
void
|
void
|
||||||
ObjectAccessor::SaveAllPlayers()
|
ObjectAccessor::SaveAllPlayers()
|
||||||
{
|
{
|
||||||
Guard guard(*HashMapHolder<Player*>::GetLock());
|
Guard guard(*HashMapHolder<Player>::GetLock());
|
||||||
HashMapHolder<Player>::MapType& m = HashMapHolder<Player>::GetContainer();
|
HashMapHolder<Player>::MapType& m = HashMapHolder<Player>::GetContainer();
|
||||||
HashMapHolder<Player>::MapType::iterator itr = m.begin();
|
HashMapHolder<Player>::MapType::iterator itr = m.begin();
|
||||||
for(; itr != m.end(); ++itr)
|
for(; itr != m.end(); ++itr)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "8651"
|
#define REVISION_NR "8652"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue