modelinfo and visibility plg fixes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user