mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-16 22:44:08 +00:00
little fixes
This commit is contained in:
parent
824ca7599c
commit
8be0567924
5 changed files with 12 additions and 4 deletions
|
@ -526,7 +526,12 @@ CStreaming::ConvertBufferToObject(int8 *buf, int32 streamId)
|
|||
|
||||
// Txd and anim have to be loaded
|
||||
int animId = mi->GetAnimFileIndex();
|
||||
#ifdef FIX_BUGS
|
||||
if(!HasTxdLoaded(mi->GetTxdSlot()) ||
|
||||
#else
|
||||
// texDict will exist even if only first part has loaded
|
||||
if(CTxdStore::GetSlot(mi->GetTxdSlot())->texDict == nil ||
|
||||
#endif
|
||||
animId != -1 && !CAnimManager::GetAnimationBlock(animId)->isLoaded){
|
||||
RemoveModel(streamId);
|
||||
ReRequestModel(streamId);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue