Use standard counts in DLC packs
This commit is contained in:
1 parent
3c2669b2a7
commit
86002c2f18
3 files changed
+16
-16
No files matched your search
@@ -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);
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user