Trying to make rejoin work, still broken due to change of unique id during game.
This commit is contained in:
@@ -54,9 +54,17 @@ ClientPlayer::getMyID() const
|
||||
return myID;
|
||||
}
|
||||
|
||||
void
|
||||
ClientPlayer::setMyUniqueID(unsigned newId)
|
||||
{
|
||||
boost::recursive_mutex::scoped_lock lock(m_syncMutex);
|
||||
myUniqueID = newId;
|
||||
}
|
||||
|
||||
unsigned
|
||||
ClientPlayer::getMyUniqueID() const
|
||||
{
|
||||
boost::recursive_mutex::scoped_lock lock(m_syncMutex);
|
||||
return myUniqueID;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user