mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-19 08:01:50 +00:00
Fix another incorrect mapping of texture indices for UE1 models.
This commit is contained in:
parent
83077b6f95
commit
9eb8d65cb1
1 changed files with 3 additions and 2 deletions
|
@ -309,8 +309,9 @@ void FUE1Model::AddSkins( uint8_t *hitlist, const FTextureID* surfaceskinids)
|
|||
{
|
||||
for (int i = 0; i < numGroups; i++)
|
||||
{
|
||||
if (surfaceskinids && surfaceskinids[i].isValid())
|
||||
hitlist[surfaceskinids[i].GetIndex()] |= FTextureManager::HIT_Flat;
|
||||
int ssIndex = groups[i].texNum;
|
||||
if (surfaceskinids && surfaceskinids[ssIndex].isValid())
|
||||
hitlist[surfaceskinids[ssIndex].GetIndex()] |= FTextureManager::HIT_Flat;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue