summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorWlodekM <[email protected]>2025-01-26 13:55:16 +0200
committerWlodekM <[email protected]>2025-01-26 13:55:16 +0200
commit1f807154ba5f77dc1fdd2fb2af2696855dd7002c (patch)
tree5c7c85837ad92550b0bdc5481057ca9b4f626317 /src
parent25d676545255d1f7a6814b869655ece61bcf87b5 (diff)
yeah turns out the changed code was infront of me all this time HEAD master
Diffstat (limited to 'src')
-rw-r--r--src/EntityComponents.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/EntityComponents.c b/src/EntityComponents.c
index 9652a71..27a0b70 100644
--- a/src/EntityComponents.c
+++ b/src/EntityComponents.c
@@ -225,7 +225,7 @@ static void HacksComp_ParseAllFlag(struct HacksComp* hacks, const char* include,
 
 void HacksComp_RecheckFlags(struct HacksComp* hacks) {
 	/* Can use hacks by default (also case with WoM), no need to check +hax */
-	cc_bool hax = true;
+	cc_bool hax = !String_ContainsConst(&hacks->HacksFlags, "-hax") || Options_GetBool(OPT_HACKS_OVERRIDE, true); // WL - reverted //
 	HacksComp_SetAll(hacks, hax);
 	hacks->CanBePushed   = true;