Commit ad34c13c authored by Frederik Schwarzer's avatar Frederik Schwarzer

Constness.

parent 7a7e3823
......@@ -486,7 +486,7 @@ bool Game::redoMove()
const UndoCommand *undoCmd = static_cast<const UndoCommand*>(m_undoStack.command(m_undoStack.index()));
Player *player = undoCmd->player();
const Player *player = undoCmd->player();
if (undoCmd->moveType() == UndoCommand::MoveType::Passed) {
//qDebug() << "Redo a pass move for" << player << undoCmd->text();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment