mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-26 20:15:35 +00:00
Use standard counts in DLC packs
This commit is contained in:
@@ -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