Skip to content

Commit 9f26b29

Browse files
xen-000Vauff
authored andcommitted
Allow struct schemas to update on windows
I guess at some point this started working which is nice
1 parent 412848a commit 9f26b29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cs2_sdk/schema.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ inline constexpr uint64_t hash_64_fnv1a_const(const char *const str, const uint6
104104
need to have their this pointer corrected by the offset .*/ \
105105
if (!IsStruct) \
106106
EntityNetworkStateChanged((uintptr_t)pThisClass, m_key.offset + extra_offset); \
107-
else if (IsPlatformPosix()) /* This is currently broken on windows */ \
107+
else \
108108
CALL_VIRTUAL(void, 1, pThisClass, m_key.offset + extra_offset, 0xFFFFFFFF, 0xFFFF); \
109109
} \
110110
*reinterpret_cast<std::add_pointer_t<type>>((uintptr_t)(pThisClass) + m_key.offset + extra_offset) = val; \

0 commit comments

Comments
 (0)