Un-hardcode all CHostState dependencies

The SDK now works on executables with ASLR enabled.
!TODO: Dedicated.
This commit is contained in:
Kawe Mazidjatari
2022-04-12 02:48:46 +02:00
parent db141d5edb
commit e1f5e7d46b
20 changed files with 214 additions and 64 deletions

View File

@@ -303,6 +303,11 @@ public:
x = X; y = Y; z = Z;
}
inline void Init(float ix = 0.0f, float iy = 0.0f, float iz = 0.0f)
{
x = ix; y = iy; z = iz;
}
inline void Clear()
{
x = y = z = 0.0f;