mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
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.
This commit is contained in:
@@ -240,7 +240,7 @@ protected:
|
|||||||
Offset formationOffset = Offset(NULL);
|
Offset formationOffset = Offset(NULL);
|
||||||
unsigned int targetID = NULL;
|
unsigned int targetID = NULL;
|
||||||
Coords targetPosition = Coords(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 reactionToThreat = ReactionToThreat::EVADE_FIRE;
|
||||||
unsigned char emissionsCountermeasures = EmissionCountermeasure::DEFEND;
|
unsigned char emissionsCountermeasures = EmissionCountermeasure::DEFEND;
|
||||||
DataTypes::TACAN TACAN;
|
DataTypes::TACAN TACAN;
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
@@ -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.",
|
"_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": {
|
"audio": {
|
||||||
|
|
||||||
"SRSPort": 5002,
|
"SRSPort": 5002,
|
||||||
"WSPort": 4000,
|
"WSPort": 4000,
|
||||||
"WSEndpoint": "audio"
|
"WSEndpoint": "audio"
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
"version": "v2.0.3"
|
"version": "v2.0.4"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user