1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 08:40:07 +00:00

update librw; fix txd.img bug

This commit is contained in:
aap 2020-08-19 16:53:11 +02:00
parent 827ba62671
commit 895055a3d1
2 changed files with 6 additions and 1 deletions

View file

@ -289,6 +289,11 @@ CreateTxdImageForVideoCard()
ConvertingTexturesScreen(i, TXDSTORESIZE, "CVT_MSG"); ConvertingTexturesScreen(i, TXDSTORESIZE, "CVT_MSG");
if (CTxdStore::GetSlot(i) != nil && CStreaming::IsObjectInCdImage(i + STREAM_OFFSET_TXD)) { if (CTxdStore::GetSlot(i) != nil && CStreaming::IsObjectInCdImage(i + STREAM_OFFSET_TXD)) {
#ifdef FIX_BUGS
if(strcmp(CTxdStore::GetTxdName(i), "generic") == 0)
continue;
#endif
CStreaming::RequestTxd(i, STREAMFLAGS_KEEP_IN_MEMORY); CStreaming::RequestTxd(i, STREAMFLAGS_KEEP_IN_MEMORY);
CStreaming::RequestModelStream(0); CStreaming::RequestModelStream(0);
CStreaming::FlushChannels(); CStreaming::FlushChannels();

2
vendor/librw vendored

@ -1 +1 @@
Subproject commit a78a02394e4c528a2ade867dfd0ffe04e32ec474 Subproject commit 93c246b6b1137dba0cb7ed096b5f6d8ac8e8396f