aboutsummaryrefslogtreecommitdiff
path: root/primedev/core/hooks.h
diff options
context:
space:
mode:
authorNorthstar <northstar@northstar.tf>2024-08-23 23:26:57 +0200
committerNorthstar <northstar@northstar.tf>2024-08-23 23:26:57 +0200
commit5b2c608b22ba272e4ab1a45adc1f43b60b1aea79 (patch)
treee827952268ac29f0c08f0891ddba09af1f089e5e /primedev/core/hooks.h
parentd333a966ed961fca02d80212fe1384cf8600b9cb (diff)
downloadNorthstarLauncher-5b2c608b22ba272e4ab1a45adc1f43b60b1aea79.tar.gz
NorthstarLauncher-5b2c608b22ba272e4ab1a45adc1f43b60b1aea79.zip
Format project
Diffstat (limited to 'primedev/core/hooks.h')
-rw-r--r--primedev/core/hooks.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/primedev/core/hooks.h b/primedev/core/hooks.h
index facf51bf..2a2180da 100644
--- a/primedev/core/hooks.h
+++ b/primedev/core/hooks.h
@@ -327,10 +327,7 @@ public:
pAutohook->vars.push_back(this);
}
- void Dispatch()
- {
- *m_pTarget = (void*)ParseDLLOffsetString(m_pAddrString);
- }
+ void Dispatch() { *m_pTarget = (void*)ParseDLLOffsetString(m_pAddrString); }
};
// VAR_AT(engine.dll+0x404, ConVar*, Cvar_host_timescale)