From 1f807154ba5f77dc1fdd2fb2af2696855dd7002c Mon Sep 17 00:00:00 2001 From: WlodekM Date: Sun, 26 Jan 2025 13:55:16 +0200 Subject: yeah turns out the changed code was infront of me all this time --- src/EntityComponents.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit 1.4.1-2-gfad0