1
0
mirror of https://github.com/td512/re3.git synced 2026-03-09 15:31:27 +00:00

modelinfo fixes

This commit is contained in:
aap
2021-01-24 23:24:41 +01:00
parent 1d3b4d1e9a
commit 4564f7aeea
3 changed files with 5 additions and 6 deletions

View File

@@ -56,7 +56,7 @@ void
CBaseModelInfo::SetTexDictionary(const char *name)
{
int slot = CTxdStore::FindTxdSlot(name);
if(slot < 0)
if(slot == -1)
slot = CTxdStore::AddTxdSlot(name);
m_txdSlot = slot;
}