Manifest updates and compilation fixes for css, tf2, dods, hl2dm (#2268)
* Initial attempt at compiling against tf2_sdk2013 * compilation fix for css * Switch to AMTL platform arch defines * Add CBasePlayer forward decl for dods and hl2dm as well * Update hl2sdk-manifests * Add dods to CI * Actually include am-platform.h --------- Co-authored-by: Kenzzer <[email protected]> Co-authored-by: Nicholas Hastings <[email protected]>
This commit is contained in:
co-authored by
Kenzzer
Nicholas Hastings
parent
3b9c74ce96
commit
2382453d50
+2
-2
@@ -234,9 +234,9 @@ void CHalfLife2::InitLogicalEntData()
|
||||
return;
|
||||
}
|
||||
|
||||
#ifdef PLATFORM_X86
|
||||
#ifdef KE_ARCH_X86
|
||||
g_EntList = *reinterpret_cast<void **>(addr + offset);
|
||||
#elif defined PLATFORM_X64
|
||||
#elif defined KE_ARCH_X64
|
||||
int32_t varOffset = *reinterpret_cast<int32_t *>(addr + offset);
|
||||
g_EntList = reinterpret_cast<void *>(addr + offset + sizeof(int32_t) + varOffset);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user