fix: coreció de rutes en resource_helper.cpp

This commit is contained in:
2025-11-07 23:26:00 +01:00
parent 667ab73fc6
commit b4f6b919d7
2 changed files with 7 additions and 2 deletions

View File

@@ -448,7 +448,6 @@ void Player::playJumpSound(float delta_time) {
if (jump_sound_ctrl_.shouldPlay(delta_time, sound_index)) {
if (sound_index < jumping_sound_.size()) {
Audio::get()->playSound(jumping_sound_[sound_index], Audio::Group::GAME);
std::cout << sound_index << "\n";
}
}
}
@@ -460,7 +459,6 @@ void Player::playFallSound(float delta_time) {
if (fall_sound_ctrl_.shouldPlay(delta_time, y_, sound_index)) {
if (sound_index < falling_sound_.size()) {
Audio::get()->playSound(falling_sound_[sound_index], Audio::Group::GAME);
std::cout << sound_index << "\n";
}
}
}