From ecc3f595bca92962f2a771b3b0ecef78e5cd90a9 Mon Sep 17 00:00:00 2001 From: sebastian Date: Wed, 5 Aug 2026 07:11:06 +0200 Subject: [PATCH] UPD: Enhance output logs --- game/src/ludo/LudoGameMode.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/game/src/ludo/LudoGameMode.cpp b/game/src/ludo/LudoGameMode.cpp index 06b8e1b..732e68b 100644 --- a/game/src/ludo/LudoGameMode.cpp +++ b/game/src/ludo/LudoGameMode.cpp @@ -146,6 +146,7 @@ void ludo::LudoGameMode::handle(const MovePieceCommand &command) { auto result = movePieceInternal(command.pieceIndex, m_gameState.m_diceValue); m_pendingEvents.emplace_back(PieceMovedEvent{command.pieceIndex, result.fromPosition, result.toPosition, result.captured}); if (result.captured) { + spdlog::info("MovePieceCommand: gegnerische Figur auf {} geworfen", result.toPosition); m_pendingEvents.emplace_back(PieceMovedEvent{result.capturedPieceIndex, result.toPosition, -1, false}); } finishTurn();