- switched the entire status bar code to use FGameTexture.

- scale the automap parchment to clean 320x200 dimensions.
This commit is contained in:
Christoph Oelckers 2020-04-14 00:55:16 +02:00
commit c7db5b932e
16 changed files with 129 additions and 105 deletions

View file

@ -894,14 +894,10 @@ bool FLevelLocals::DoCompleted (FString nextlevel, wbstartstruct_t &wminfo)
{
if (texids[i]->isValid() && langtable[i] != FStringTable::default_table)
{
FTexture *tex = TexMan.GetTexture(*texids[i]);
if (tex != nullptr)
FGameTexture *tex = TexMan.GetGameTexture(*texids[i]);
if (tex != nullptr && !tex->isUserContent())
{
int filenum = fileSystem.GetFileContainer(tex->GetSourceLump());
if (filenum >= 0 && filenum <= fileSystem.GetMaxIwadNum())
{
texids[i]->SetInvalid();
}
texids[i]->SetInvalid();
}
}
}