mirror of
https://github.com/halpz/re3.git
synced 2025-07-03 23:00:46 +00:00
few fixes
This commit is contained in:
@ -754,7 +754,8 @@ CStreaming::RequestSpecialModel(int32 modelId, const char *modelName, int32 flag
|
||||
}else
|
||||
RemoveModel(modelId);
|
||||
|
||||
ms_pExtraObjectsDir->FindItem(modelName, pos, size);
|
||||
bool found = ms_pExtraObjectsDir->FindItem(modelName, pos, size);
|
||||
assert(found);
|
||||
mi->ClearTexDictionary();
|
||||
if(CTxdStore::FindTxdSlot(modelName) == -1)
|
||||
mi->SetTexDictionary("generic");
|
||||
|
@ -91,7 +91,6 @@ void GameInit(void);
|
||||
void SystemInit(void);
|
||||
void TheGame(void);
|
||||
|
||||
void DebugMenuInit(void) {}
|
||||
void DebugMenuPopulate(void);
|
||||
|
||||
|
||||
@ -344,6 +343,8 @@ static void
|
||||
Terminate3D(void)
|
||||
{
|
||||
CGame::ShutdownRenderWare();
|
||||
|
||||
DebugMenuShutdown();
|
||||
|
||||
RsRwTerminate();
|
||||
|
||||
@ -794,6 +795,7 @@ RenderDebugShit(void)
|
||||
CRenderer::RenderCollisionLines();
|
||||
ThePaths.DisplayPathData();
|
||||
CDebug::DrawLines();
|
||||
DefinedState();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user