Tweak the amount that distance is factored in when mitigating depth fighting in Polymost.

git-svn-id: https://svn.eduke32.com/eduke32@5398 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2015-10-21 19:54:06 +00:00
parent 87c8e86d44
commit b166a13d50

View file

@ -3984,7 +3984,7 @@ int32_t polymost_lintersect(int32_t x1, int32_t y1, int32_t x2, int32_t y2,
}
#define TSPR_OFFSET(tspr) \
(((FindDistance2D((tspr->x - globalposx), (tspr->y - globalposy)) >> 4) * .0001f) + \
(((FindDistance2D((tspr->x - globalposx), (tspr->y - globalposy)) >> 3) * .0001f) + \
((tspr->owner != -1 ? tspr->owner & 63 : 0) * .0001f))
void polymost_drawsprite(int32_t snum)