This commit is contained in:
Fabio Bas 2017-04-25 18:58:01 +02:00
parent a46c7156dd
commit 0fd77346df
3 changed files with 8 additions and 7 deletions

View file

@ -729,6 +729,7 @@ void TabGame::processGameEventContainer(const GameEventContainer &cont, Abstract
const int eventListSize = cont.event_list_size();
for (int i = 0; i < eventListSize; ++i) {
const GameEvent &event = cont.event_list(i);
qDebug() << "[REPLAY]" << QString::fromStdString(event.ShortDebugString());
const int playerId = event.player_id();
const GameEvent::GameEventType eventType = static_cast<GameEvent::GameEventType>(getPbExtension(event));
if (spectators.contains(playerId)) {