Ignore ART mapping for TILE_ANIM, which is dynamically populated by the game

during ANM playback.

git-svn-id: https://svn.eduke32.com/eduke32@3742 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
Plagman 2013-05-09 07:22:40 +00:00
parent c32401ba51
commit e627f09787

View file

@ -4569,7 +4569,7 @@ static void polymer_getbuildmaterial(_prmaterial* material, int16_t tile
}
// Lazily fill in all the textures we need, move this to precaching later
if (pr_artmapping && (!pth || !pth->hicr)) {
if (pr_artmapping && (!pth || !pth->hicr) && tilenum != (MAXTILES - 4)) {
if (!prartmaps[tilenum]) {
char *tilebuffer = (char *)waloff[tilenum];
char *tempbuffer = (char *)Bmalloc(tilesizx[tilenum] * tilesizy[tilenum]);