diff --git a/game/reconstructed/myomers.cpp b/game/reconstructed/myomers.cpp index 8536a65..659b32a 100644 --- a/game/reconstructed/myomers.cpp +++ b/game/reconstructed/myomers.cpp @@ -516,6 +516,21 @@ void Myomers::MyomersSimulation(Scalar time_slice) // so the resulting state is identical to the binary's once-at-assembly. RegisterMaxOutput(); // @004b8ef0 + // BENCH (BT_FORCE_SEEK=): pin the seek gear without the eng-page + // button -- the seek-4 supercharge/overheat loop is otherwise unreachable + // on a headless rig. Env-gated, off by default; the toggle handler stays + // the authentic path. + { + static int s_forceSeek = -2; + if (s_forceSeek == -2) + { + const char *e = getenv("BT_FORCE_SEEK"); + s_forceSeek = (e != 0 && *e != '\0') ? atoi(e) : -1; + } + if (s_forceSeek >= 0 && s_forceSeek <= maxSeekVoltageIndex) + currentSeekVoltageIndex = s_forceSeek; + } + // 1. @004b8bab -- the base electrical state machine. MUST come first, and // must precede any heat-model gate: OwnerAdvancedDamage() is off below // veteran, so gating ahead of this denied the machine to most pilots.