Skip to content

Commit a6701da

Browse files
committed
Small code change (omit default parameter)
1 parent c7c26f8 commit a6701da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/audio/sound_manager.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,8 +329,8 @@ SoundManager::play_music(const std::string& filename, float fadetime)
329329
m_music_source = std::move(newmusic);
330330
} catch(std::exception& e) {
331331
log_warning << "Couldn't play music file '" << filename << "': " << e.what() << std::endl;
332-
// When this happens, previous music continued playing, stop it, just in case.
333-
stop_music(0);
332+
// When this happens, the previous music continued playing. Stop it, just in case.
333+
stop_music();
334334
}
335335
}
336336

0 commit comments

Comments
 (0)