summaryrefslogtreecommitdiffstats
path: root/src/extras
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-08-19 16:54:09 +0200
committeraap <aap@papnet.eu>2020-08-19 16:54:09 +0200
commitc2e20070ab0fc95e4aacc88098aa49a18fc96afb (patch)
tree55ef67515c5327d590f384dfb43168a1d7a201ad /src/extras
parentMerge pull request #688 from aap/master (diff)
downloadre3-c2e20070ab0fc95e4aacc88098aa49a18fc96afb.tar
re3-c2e20070ab0fc95e4aacc88098aa49a18fc96afb.tar.gz
re3-c2e20070ab0fc95e4aacc88098aa49a18fc96afb.tar.bz2
re3-c2e20070ab0fc95e4aacc88098aa49a18fc96afb.tar.lz
re3-c2e20070ab0fc95e4aacc88098aa49a18fc96afb.tar.xz
re3-c2e20070ab0fc95e4aacc88098aa49a18fc96afb.tar.zst
re3-c2e20070ab0fc95e4aacc88098aa49a18fc96afb.zip
Diffstat (limited to 'src/extras')
-rw-r--r--src/extras/custompipes.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/extras/custompipes.cpp b/src/extras/custompipes.cpp
index fb529b47..79254eb4 100644
--- a/src/extras/custompipes.cpp
+++ b/src/extras/custompipes.cpp
@@ -525,6 +525,7 @@ SetTxdFindCallback(void)
CTxdStore::AddRef(slot);
// TODO: function for this
genericTxd = CTxdStore::GetSlot(slot)->texDict;
+ assert(genericTxd);
if(defaultFindCB == nil)
defaultFindCB = rw::Texture::findCB;
rw::Texture::findCB = customFindCB;