Added a warning message for ground and navy units ROE

This commit is contained in:
Pax1601
2023-11-29 12:57:17 +01:00
parent f4388a2cff
commit 3cca3187ad
5 changed files with 6 additions and 6 deletions

View File

@@ -52,7 +52,7 @@ void GroundUnit::setDefaults(bool force)
setState(State::IDLE);
/* Set the default options */
setROE(ROE::OPEN_FIRE_WEAPON_FREE, force);
setROE(ROE::WEAPON_FREE, force);
setOnOff(onOff, force);
setFollowRoads(followRoads, force);
}

View File

@@ -49,7 +49,7 @@ void NavyUnit::setDefaults(bool force)
setState(State::IDLE);
/* Set the default options */
setROE(ROE::OPEN_FIRE_WEAPON_FREE, force);
setROE(ROE::WEAPON_FREE, force);
setOnOff(onOff, force);
setFollowRoads(followRoads, force);
}