summaryrefslogtreecommitdiffstats
path: root/src/Streaming.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-06-23 13:11:41 +0200
committeraap <aap@papnet.eu>2019-06-23 13:11:41 +0200
commita5ba53896881ec479f9819ab0349437de4c3f4ed (patch)
tree89471ebfcd3b95fdb3b35a13bcdb605d27694973 /src/Streaming.h
parentfixed key binding, head shots, freezes (diff)
downloadre3-a5ba53896881ec479f9819ab0349437de4c3f4ed.tar
re3-a5ba53896881ec479f9819ab0349437de4c3f4ed.tar.gz
re3-a5ba53896881ec479f9819ab0349437de4c3f4ed.tar.bz2
re3-a5ba53896881ec479f9819ab0349437de4c3f4ed.tar.lz
re3-a5ba53896881ec479f9819ab0349437de4c3f4ed.tar.xz
re3-a5ba53896881ec479f9819ab0349437de4c3f4ed.tar.zst
re3-a5ba53896881ec479f9819ab0349437de4c3f4ed.zip
Diffstat (limited to '')
-rw-r--r--src/Streaming.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Streaming.h b/src/Streaming.h
index 93c2e73e..fc14829c 100644
--- a/src/Streaming.h
+++ b/src/Streaming.h
@@ -111,6 +111,7 @@ public:
static void RequestSpecialModel(int32 modelId, const char *modelName, int32 flags);
static void RequestSpecialChar(int32 charId, const char *modelName, int32 flags);
static void RemoveModel(int32 id);
+ static void RemoveTxd(int32 id) { RemoveModel(id + STREAM_OFFSET_TXD); }
static bool IsTxdUsedByRequestedModels(int32 txdId);
static bool AddToLoadedVehiclesList(int32 modelId);