From 789cc2e7fbe0ce2ee50da5b6c93aa041b2f0b19c Mon Sep 17 00:00:00 2001 From: AhmedSobhy01 Date: Fri, 17 May 2024 00:36:25 +0300 Subject: [PATCH] :hammer: Fixed a typo --- Game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }