1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-17 01:32:21 +02:00

backpack window slider

This commit is contained in:
SoundSSGood
2023-07-17 19:42:55 +03:00
parent b1351d8532
commit ca977d7105
8 changed files with 101 additions and 40 deletions

View File

@ -232,7 +232,7 @@ void CArtifactsOfHeroBase::updateBackpackSlots()
{
if(curHero->artifactsInBackpack.size() <= backpack.size() && backpackPos != 0)
backpackPos = 0;
scrollBackpackForArtSet(0, *curHero);
scrollBackpack(0);
}
void CArtifactsOfHeroBase::updateSlot(const ArtifactPosition & slot)