mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
Replaced vstd clamp with std version
This commit is contained in:
@@ -1907,7 +1907,7 @@ void CObjectListWindow::keyPressed (const SDL_Keycode & key)
|
||||
return;
|
||||
}
|
||||
|
||||
vstd::abetween(sel, 0, items.size()-1);
|
||||
vstd::abetween<int>(sel, 0, items.size()-1);
|
||||
list->scrollTo(sel);
|
||||
changeSelection(sel);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user