Renamed the operator() and [] methods in FTextureManager which take a name
The operators cannot be easily searched for so this makes it hard to do any evaluations on the use of this method.
This commit is contained in:
parent
9fedecbe60
commit
3dc9eab743
8 changed files with 34 additions and 32 deletions
|
|
@ -501,7 +501,7 @@ double FindShortestTextureAround (sector_t *sec)
|
|||
CheckShortestTex (check->sidedef[1]->GetTexture(side_t::bottom), minsize);
|
||||
}
|
||||
}
|
||||
return minsize < FLT_MAX ? minsize : TexMan[0]->GetDisplayHeight();
|
||||
return minsize < FLT_MAX ? minsize : TexMan.ByIndex(0)->GetDisplayHeight();
|
||||
}
|
||||
|
||||
//
|
||||
|
|
@ -526,7 +526,7 @@ double FindShortestUpperAround (sector_t *sec)
|
|||
CheckShortestTex (check->sidedef[1]->GetTexture(side_t::top), minsize);
|
||||
}
|
||||
}
|
||||
return minsize < FLT_MAX ? minsize : TexMan[0]->GetDisplayHeight();
|
||||
return minsize < FLT_MAX ? minsize : TexMan.ByIndex(0)->GetDisplayHeight();
|
||||
}
|
||||
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue