1
0
mirror of https://github.com/td512/re3.git synced 2026-03-01 17:26:46 +00:00

modelinfo and visibility plg fixes

This commit is contained in:
aap
2021-01-24 23:25:12 +01:00
parent 513d418771
commit 453a16c978
5 changed files with 42 additions and 15 deletions

View File

@@ -57,7 +57,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;
}