Set "stayOnTableStatus" in engine.

This commit is contained in:
lotodore committed 2011-12-23 19:32:56 +00:00
1 parent 4961e79ea1
commit b90fa705aa
2 files changed
+7 -1

No files matched your search

+6
View File
@@ -1074,6 +1074,12 @@ ClientThread::RemovePlayerData(unsigned playerId, int removeReason)
if (tmpData.get()) {
// Remove player from gui.
if (GetGame()) {
boost::shared_ptr<PlayerInterface> tmpPlayer(GetGame()->getPlayerByUniqueId(tmpData->GetUniqueId()));
if (tmpPlayer) {
tmpPlayer->setMyStayOnTableStatus(false);
}
}
GetCallback().SignalNetClientPlayerLeft(tmpData->GetUniqueId(), tmpData->GetName(), removeReason);
}
}