Skip to content

Commit e9ced95

Browse files
author
Ibra
committed
fix: Disable std::from_chars INI parsing temporarily to prevent startup crash with mods
1 parent 2f3f1e9 commit e9ced95

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

Core/GameEngine/Source/Common/INI/INI.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
#include "GameLogic/ScriptEngine.h"
6060
#include "GameLogic/Weapon.h"
6161

62-
#if __cplusplus >= 201611L
62+
#if __cplusplus >= 201611L && !defined(GENERALS_ONLINE_DISABLE_STD_FROM_CHARS_PARSING)
6363
#define USE_STD_FROM_CHARS_PARSING 1
6464
#else
6565
#define USE_STD_FROM_CHARS_PARSING 0

GeneralsMD/Code/GameEngine/Include/GameNetwork/GeneralsOnline/NextGenMP_defines.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,3 +124,5 @@ static int FRAME_GROUPING_CAP = 64;
124124
//#define GENERALS_ONLINE_RNG_USE_FIXED_DEBUG_NUMBER 1
125125

126126
#define GENERALS_ONLINE_ALLOW_ALL_SETTINGS_FOR_STATS_MATCHES 1
127+
128+
#define GENERALS_ONLINE_DISABLE_STD_FROM_CHARS_PARSING 1

0 commit comments

Comments
 (0)