summaryrefslogtreecommitdiffstats
path: root/src/modelinfo/BaseModelInfo.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-24 23:25:12 +0100
committeraap <aap@papnet.eu>2021-01-24 23:25:12 +0100
commit453a16c97803c829cab3d6a144a735ec8fc96914 (patch)
tree9dde0876428ef823c25cfc7a428628e5e26d0110 /src/modelinfo/BaseModelInfo.cpp
parentAdd cmake option for sanitizers (diff)
downloadre3-453a16c97803c829cab3d6a144a735ec8fc96914.tar
re3-453a16c97803c829cab3d6a144a735ec8fc96914.tar.gz
re3-453a16c97803c829cab3d6a144a735ec8fc96914.tar.bz2
re3-453a16c97803c829cab3d6a144a735ec8fc96914.tar.lz
re3-453a16c97803c829cab3d6a144a735ec8fc96914.tar.xz
re3-453a16c97803c829cab3d6a144a735ec8fc96914.tar.zst
re3-453a16c97803c829cab3d6a144a735ec8fc96914.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 d0f868fa..765469b4 100644
--- a/src/modelinfo/BaseModelInfo.cpp
+++ b/src/modelinfo/BaseModelInfo.cpp
@@ -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;
}