summaryrefslogtreecommitdiffstats
path: root/src/modelinfo/BaseModelInfo.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-24 23:24:41 +0100
committeraap <aap@papnet.eu>2021-01-24 23:24:41 +0100
commit4564f7aeea447226137ad72e0f0d1ea26cf159ba (patch)
tree72d41086c93394f5c8017cc7d0142cab803c4b2e /src/modelinfo/BaseModelInfo.cpp
parentAdd cmake option for sanitizers (diff)
downloadre3-4564f7aeea447226137ad72e0f0d1ea26cf159ba.tar
re3-4564f7aeea447226137ad72e0f0d1ea26cf159ba.tar.gz
re3-4564f7aeea447226137ad72e0f0d1ea26cf159ba.tar.bz2
re3-4564f7aeea447226137ad72e0f0d1ea26cf159ba.tar.lz
re3-4564f7aeea447226137ad72e0f0d1ea26cf159ba.tar.xz
re3-4564f7aeea447226137ad72e0f0d1ea26cf159ba.tar.zst
re3-4564f7aeea447226137ad72e0f0d1ea26cf159ba.zip
Diffstat (limited to 'src/modelinfo/BaseModelInfo.cpp')
-rw-r--r--src/modelinfo/BaseModelInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modelinfo/BaseModelInfo.cpp b/src/modelinfo/BaseModelInfo.cpp
index f1c7d050..7137c604 100644
--- a/src/modelinfo/BaseModelInfo.cpp
+++ b/src/modelinfo/BaseModelInfo.cpp
@@ -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;
}