- removed all remaining uses of tilesiz.

This commit is contained in:
Christoph Oelckers 2020-11-23 08:55:02 +01:00
parent d60bc8be9f
commit 169d708547
17 changed files with 31 additions and 44 deletions

View file

@ -1775,7 +1775,7 @@ void renderDrawMapView(int32_t dax, int32_t day, int32_t zoome, int16_t ang)
auto const spr = (uspritetype * )&sprite[tsprite[s].owner];
if ((spr->cstat&48) == 32)
{
const int32_t xspan = tilesiz[spr->picnum].x;
const int32_t xspan = tileWidth(spr->picnum);
int32_t npoints = 0;
vec2_t v1 = { spr->x, spr->y }, v2, v3, v4;