source-sdk-2013 icon indicating copy to clipboard operation
source-sdk-2013 copied to clipboard

x64 debug build does not work because of uninitialized variable

Open PiMoNFeeD opened this issue 10 months ago • 2 comments

See CParticleEffectBinding::CParticleEffectBinding() At least on Windows, SetParticleCullRadius( 0.0f ) does not work because m_flParticleCullRadius is initialized to nan by default and checking if it's not equal to 0.0f returns false, making it not initialize the value This causes crashes down the frame later

PiMoNFeeD avatar Feb 21 '25 21:02 PiMoNFeeD

Debug build is broken as others reported, not sure on Windows but I believe the Linux's build script defaults it to release build.

nwerosama avatar Feb 21 '25 23:02 nwerosama

Cool, which means it has to be fixed

PiMoNFeeD avatar Feb 22 '25 00:02 PiMoNFeeD