File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Client/mods/deathmatch/logic Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -213,7 +213,7 @@ void CClientModel::RestoreDFF(CModelInfo* pModelInfo)
213213
214214bool CClientModel::AllocateTXD (std::string &strTxdName)
215215{
216- uint uiSlotID = g_pGame->GetPools ()->GetTxdPool ().AllocateTextureDictonarySlot (m_iModelID - MAX_MODEL_DFF_ID, strTxdName);
216+ std:: uint32_t uiSlotID = g_pGame->GetPools ()->GetTxdPool ().AllocateTextureDictonarySlot (m_iModelID - MAX_MODEL_DFF_ID, strTxdName);
217217 if (uiSlotID != -1 )
218218 {
219219 m_bAllocatedByUs = true ;
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ int CClientModelManager::GetFirstFreeModelID(void)
7676
7777int CClientModelManager::GetFreeTxdModelID ()
7878{
79- ushort usTxdId = g_pGame->GetPools ()->GetTxdPool ().GetFreeTextureDictonarySlot ();
79+ std:: uint16_t usTxdId = g_pGame->GetPools ()->GetTxdPool ().GetFreeTextureDictonarySlot ();
8080 if (usTxdId == -1 )
8181 return INVALID_MODEL_ID;
8282 return MAX_MODEL_DFF_ID + usTxdId;
You can’t perform that action at this time.
0 commit comments