From 61e469e657a7da8911a0a536c0faa1a9ff1200b3 Mon Sep 17 00:00:00 2001 From: Monsterovich Date: Tue, 12 Mar 2024 05:21:30 +0200 Subject: [PATCH] Renamed the variable initialRepairDroidGroup --- src/cmddroid.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmddroid.cpp b/src/cmddroid.cpp index 282b9ffdfcd..51058e4c34b 100644 --- a/src/cmddroid.cpp +++ b/src/cmddroid.cpp @@ -90,7 +90,7 @@ bool cmdDroidAddDroid(DROID *psCommander, DROID *psDroid) ASSERT_OR_RETURN(false, psDroid != nullptr, "psDroid is null?"); auto initialDroidGroup = psDroid->group; - auto initialRepairDroidGroup = psDroid->repairGroup; + auto initialDroidRepairGroup = psDroid->repairGroup; if (psCommander->psGroup == nullptr) { @@ -130,7 +130,7 @@ bool cmdDroidAddDroid(DROID *psCommander, DROID *psDroid) psDroid->group = initialDroidGroup; SelectGroupDroid(psDroid); } - psDroid->repairGroup = initialRepairDroidGroup; + psDroid->repairGroup = initialDroidRepairGroup; } if (initialDroidGroup != psDroid->group)