mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Replaced vstd clamp with std version
This commit is contained in:
@@ -488,7 +488,7 @@ void CVolumeSlider::setVolume(int value_)
|
||||
|
||||
void CVolumeSlider::moveTo(int id)
|
||||
{
|
||||
vstd::abetween(id, 0, animImage->size() - 1);
|
||||
vstd::abetween<int>(id, 0, animImage->size() - 1);
|
||||
animImage->setFrame(id);
|
||||
animImage->moveTo(Point(pos.x + (animImage->pos.w + 1) * id, pos.y));
|
||||
if (active)
|
||||
|
||||
Reference in New Issue
Block a user