You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Variable sar_loads_coop_dots("sar_loads_coop_dots", "0", "Toggles the loading screen dots during map transitions in coop.\n");
55
55
Variable sar_disable_autograb("sar_disable_autograb", "0", 0, 1, "Disables the auto-grab in coop. Requires host to enable it for everyone that also enables it.\n");
int origPortal2PromoFlagsValue = 0; // By default, nothing is loaded.
69
+
int *g_nPortal2PromoFlags = nullptr;
70
+
68
71
// TSP only
69
72
voidIN_BhopDown(const CCommand& args) {
70
73
if (!client->KeyDown || !client->in_jump) return;
@@ -399,6 +402,8 @@ void Cheats::Init() {
399
402
g_autoGrabPatchClient->Restore();
400
403
}
401
404
405
+
g_nPortal2PromoFlags = *reinterpret_cast<int **>(Memory::Scan(MODULE("server"), Offsets::Portal2PromoFlags_ADDR, 2)); // Note: Has to be active before map loads.
0 commit comments