diff --git a/Game.cpp b/Game.cpp index 51b4491..0932dfe 100644 --- a/Game.cpp +++ b/Game.cpp @@ -308,7 +308,7 @@ void Game::printUnitsFighting() std::cout << " " << currentAction << " [" << currentFoughtUnits << "]" << std::endl; // Nullify the pointers - currentAction = nullptr; + currentAttacker = nullptr; } }