Use standard counts in DLC packs

This commit is contained in:
notmatthewbeshay
2026-03-11 02:57:08 +11:00
parent 3c2669b2a7
commit 86002c2f18
3 changed files with 16 additions and 16 deletions

View File

@@ -1007,7 +1007,7 @@ void CScene_SkinSelect::handlePackIndexChanged()
if(m_currentPack != NULL)
{
bool found;
DWORD currentSkinIndex = m_currentPack->getSkinIndexAt(m_currentSkinPath, found);
unsigned int currentSkinIndex = m_currentPack->getSkinIndexAt(m_currentSkinPath, found);
if(found) m_skinIndex = currentSkinIndex;
}
else
@@ -1036,7 +1036,7 @@ void CScene_SkinSelect::handlePackIndexChanged()
DLCPack *Pack=app.m_dlcManager.getPackContainingSkin(chars);
if(Pack)
{
DWORD currentSkinIndex = Pack->getSkinIndexAt(m_currentSkinPath, found);
unsigned int currentSkinIndex = Pack->getSkinIndexAt(m_currentSkinPath, found);
if(found) m_skinIndex = app.GetPlayerFavoriteSkinsPos(m_iPad);
}
}
@@ -1441,4 +1441,4 @@ void CScene_SkinSelect::AddFavoriteSkin(int iPad,int iSkinID)
app.SetPlayerFavoriteSkin(iPad,(int)ucPos,iSkinID);
app.SetPlayerFavoriteSkinsPos(m_iPad,ucPos);
}
}