- Changed FImageCollection so that it accepts a matching texture of any type.
This is necessary to load hires sprite replacements for certain icons. SVN r655 (trunk)
This commit is contained in:
parent
a329efe9a4
commit
5e56a6512a
4 changed files with 6 additions and 4 deletions
|
|
@ -60,7 +60,7 @@ void FImageCollection::Init (const char **patchNames, int numPatches, int namesp
|
|||
|
||||
for (int i = 0; i < numPatches; ++i)
|
||||
{
|
||||
int picnum = TexMan.AddPatch (patchNames[i], namespc);
|
||||
int picnum = TexMan.AddPatch (patchNames[i], namespc, true);
|
||||
|
||||
if (picnum == -1 && namespc != ns_sprites)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue