From cd34eebcbaae6428fba8f4357bb1f2fed43297da Mon Sep 17 00:00:00 2001 From: Pax1601 Date: Mon, 4 Aug 2025 19:37:32 +0200 Subject: [PATCH] fix: ROE not set correctly when setting defaults Changed the default ROE value in unit.h from OPEN_FIRE_WEAPON_FREE to OPEN_FIRE. Renamed mods.png to image.png in docs/images. Removed an unnecessary blank line in the audio section of olympus.json. Bumped version in version.json from v2.0.3 to v2.0.4. --- backend/core/include/unit.h | 2 +- docs/images/{mods.png => image.png} | Bin olympus.json | 1 - version.json | 2 +- 4 files changed, 2 insertions(+), 3 deletions(-) rename docs/images/{mods.png => image.png} (100%) diff --git a/backend/core/include/unit.h b/backend/core/include/unit.h index ca769dad..0ff980ba 100644 --- a/backend/core/include/unit.h +++ b/backend/core/include/unit.h @@ -240,7 +240,7 @@ protected: Offset formationOffset = Offset(NULL); unsigned int targetID = NULL; Coords targetPosition = Coords(NULL); - unsigned char ROE = ROE::OPEN_FIRE_WEAPON_FREE; + unsigned char ROE = ROE::OPEN_FIRE; unsigned char reactionToThreat = ReactionToThreat::EVADE_FIRE; unsigned char emissionsCountermeasures = EmissionCountermeasure::DEFEND; DataTypes::TACAN TACAN; diff --git a/docs/images/mods.png b/docs/images/image.png similarity index 100% rename from docs/images/mods.png rename to docs/images/image.png diff --git a/olympus.json b/olympus.json index c1e66362..6ee1b80e 100644 --- a/olympus.json +++ b/olympus.json @@ -82,7 +82,6 @@ "_comment26": "The WSEndpoint is the endpoint used by the web interface to connect to the audio backend WebSocket when using a reverse proxy. A websocket proxy should be set up to forward requests from this endpoint to WSPort.", "audio": { - "SRSPort": 5002, "WSPort": 4000, "WSEndpoint": "audio" diff --git a/version.json b/version.json index a085857d..46ec79f1 100644 --- a/version.json +++ b/version.json @@ -1,3 +1,3 @@ { - "version": "v2.0.3" + "version": "v2.0.4" }