Renaming the select button

This commit is contained in:
Zoe Roux
2021-06-15 14:03:07 +02:00
parent 01457a0cd5
commit 123fe91080
8 changed files with 14 additions and 14 deletions
@@ -19,9 +19,9 @@ namespace BBM {
sound.setVolume(sound.volume);
std::map<bool, SoundComponent::SoundIndex> soundIndex = {
{health.getHealthPoint() <= 0, SoundComponent::DEATH},
{controllable.bomb, SoundComponent::BOMB},
{controllable.jump, SoundComponent::JUMP},
{health.getHealthPoint() <= 0, SoundComponent::DEATH},
{controllable.bomb, SoundComponent::BOMB},
{controllable.select, SoundComponent::JUMP},
{controllable.move.x != 0 || controllable.move.y != 0, SoundComponent::MOVE}
};
for (auto &a : soundIndex) {