mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-31 13:50:48 +00:00
fix CMDL_HideModel
This commit is contained in:
parent
49eae74272
commit
0e438f10f3
1 changed files with 4 additions and 0 deletions
|
@ -330,6 +330,10 @@ void RenderFrameModels(FModelRenderer *renderer, FLevelLocals *Level, const FSpr
|
||||||
{
|
{
|
||||||
modelid = actor->modelData->models[i].modelID;
|
modelid = actor->modelData->models[i].modelID;
|
||||||
}
|
}
|
||||||
|
else if(actor->modelData->models.Size() > i && actor->modelData->models[i].modelID == -2)
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
else if(smf->modelsAmount > i)
|
else if(smf->modelsAmount > i)
|
||||||
{
|
{
|
||||||
modelid = smf->modelIDs[i];
|
modelid = smf->modelIDs[i];
|
||||||
|
|
Loading…
Reference in a new issue