Change some sounds used in options menu.

This commit is contained in:
Skyth 2024-11-19 14:18:11 +03:00
parent 67478ca9f5
commit 28416f651e

View file

@ -324,7 +324,7 @@ static void DrawCategories()
if (moveLeft || moveRight) if (moveLeft || moveRight)
{ {
ResetSelection(); ResetSelection();
PlaySound("sys_worldmap_cursor"); PlaySound("sys_actstg_score");
} }
auto drawList = ImGui::GetForegroundDrawList(); auto drawList = ImGui::GetForegroundDrawList();
@ -448,7 +448,10 @@ static void DrawConfigOption(int32_t rowIndex, float yOffset, ConfigDef<T>* conf
VideoConfigValueChangedCallback(config); VideoConfigValueChangedCallback(config);
PlaySound("sys_worldmap_cursor"); if (config->Value)
PlaySound("sys_actstg_pausedecide");
else
PlaySound("sys_actstg_pausecansel");
} }
} }
else else
@ -632,7 +635,7 @@ static void DrawConfigOption(int32_t rowIndex, float yOffset, ConfigDef<T>* conf
config->Value = it->first; config->Value = it->first;
if (increment || decrement) if (increment || decrement)
PlaySound("sys_worldmap_cursor"); PlaySound("sys_actstg_pausecursor");
} }
else if constexpr (std::is_same_v<T, float>) else if constexpr (std::is_same_v<T, float>)
{ {