Skip to content

If (Not ChannelPlaying(event\SoundCHN)) crashes the game #256

@funniman-exe

Description

@funniman-exe

In the function UpdateElevators, the line:

If (Not ChannelPlaying(event\SoundCHN)) Then event\SoundCHN = PlaySound_Strict(ElevatorMoveSFX)

Specifically the If (Not ChannelPlaying(event\SoundCHN)) part causes a memory access violation if the Previous If check (If event\SoundCHN = 0 Then) fails.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions