summaryrefslogtreecommitdiff
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
parent76fe1247c86873fa548c85ae8598efd4ce1947c2 (diff)
txd.img bug
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;