From 37e3b85c9bb27b6c07442896f7cab70d70fb3f5a Mon Sep 17 00:00:00 2001 From: lotodore Date: Mon, 19 Jul 2010 21:09:25 +0000 Subject: [PATCH] Adding debug output. --- src/net/common/servergamestate.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/net/common/servergamestate.cpp b/src/net/common/servergamestate.cpp index d6e81fda..db0fb245 100644 --- a/src/net/common/servergamestate.cpp +++ b/src/net/common/servergamestate.cpp @@ -1013,6 +1013,7 @@ ServerGameStateHand::TimerNextGame(const boost::system::error_code &ec, boost::s // Set winner in database. boost::shared_ptr tmpPlayer = server->GetPlayerDataByUniqueId(winnerPlayer->getMyUniqueID()); + cerr << "Setting winner for game " << server->GetDBId() << " player id " << tmpPlayer->GetDBId() << endl; if (tmpPlayer) server->GetLobbyThread().GetDatabase().SetGamePlayerPlace(server->GetDBId(), tmpPlayer->GetDBId(), 1);