Skip to content

x64 debug build does not work because of uninitialized variable #730

@PiMoNFeeD

Description

@PiMoNFeeD

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions