Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1559,4 +1559,20 @@ void ParticleUplinkCannonUpdate::loadPostProcess( void )
}
}

// TheSuperHackers @info stephanmeesters 13/02/2026
Comment thread
stephanmeesters marked this conversation as resolved.
Outdated
// Fix issue where sound from the particle cannon is not audible after saveload
if( m_status == STATUS_FIRING || m_status == STATUS_POSTFIRE || m_status == STATUS_PACKING )
Comment thread
xezon marked this conversation as resolved.
Outdated
{
if( m_firingToIdleSound.getEventName().isNotEmpty() )
{
m_firingToIdleSound.setObjectID( getObject()->getID() );
m_firingToIdleSound.setPlayingHandle( TheAudio->addAudioEvent( &m_firingToIdleSound ) );
}
if( m_orbitToTargetBeamID != INVALID_DRAWABLE_ID && m_annihilationSound.getEventName().isNotEmpty() )
{
m_annihilationSound.setDrawableID( m_orbitToTargetBeamID );
m_annihilationSound.setPlayingHandle( TheAudio->addAudioEvent( &m_annihilationSound ) );
}
}

}
Loading