misyltoad/VPhysics-Jolt

Map compilers can't access surface prop interface

PiMoNFeeD opened this issue · 0 comments

Map compilers (and potentially something else) don't use CBaseAppSystem::QueryInterface to load the interfaces, instead they directly load the DLL and then call CreateInterface from it to retrieve the surface prop interface, which results in it trying to look for one in the wrapper (vphysics.dll) instead of the actual physics DLL, which causes map compilers to crash, because the wrapper doesn't have that
Affected interfaces are VPHYSICS_COLLISION_INTERFACE_VERSION and VPHYSICS_SURFACEPROPS_INTERFACE_VERSION