- fixed setup of hires textures.

File check was accidentally inverted.
This commit is contained in:
Christoph Oelckers 2020-01-28 21:35:46 +01:00
parent 08ec38ce75
commit e119dc841b

View file

@ -2142,8 +2142,11 @@ static int32_t defsparser(scriptfile *script)
break; break;
} }
if (EDUKE32_PREDICT_FALSE(fileSystem.FileExists(fn))) if (EDUKE32_PREDICT_FALSE(!fileSystem.FileExists(fn)))
{
initprintf("Error: %s not found in replacement for tile %d\n", fn, tile);
break; break;
}
if (xsiz > 0 && ysiz > 0) if (xsiz > 0 && ysiz > 0)
{ {