mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Remove clamp in favor of SDL_clamp
For the same reasons as I removed VVV_min/max in favor of SDL_min/max in
aa7b63fa5f, I'm doing the same thing here.
This commit is contained in:
@@ -356,7 +356,7 @@ static void slidermodeinput(void)
|
||||
{
|
||||
*user_changing_volume += USER_VOLUME_STEP;
|
||||
}
|
||||
*user_changing_volume = clamp(*user_changing_volume, 0, USER_VOLUME_MAX);
|
||||
*user_changing_volume = SDL_clamp(*user_changing_volume, 0, USER_VOLUME_MAX);
|
||||
}
|
||||
|
||||
static void menuactionpress(void)
|
||||
|
||||
Reference in New Issue
Block a user