- SW: Fix player sprite on the automap.

Now where did that wrong number come from? I have no idea.
This commit is contained in:
Christoph Oelckers 2020-09-06 23:30:19 +02:00
parent cbbbe2a09b
commit 57db150ed3
1 changed files with 1 additions and 1 deletions

View File

@ -1960,7 +1960,7 @@ bool GameInterface::DrawAutomapPlayer(int cposx, int cposy, int czoom, int cang)
double sc = mulscale16(czoom * (spr->yrepeat), yxaspect) / 32768.;
if (spnum >= 0)
{
DrawTexture(twod, tileGetTexture(5407, true), xd, yd, DTA_ScaleX, sc, DTA_ScaleY, sc, DTA_Rotate, daang * (-360. / 2048),
DrawTexture(twod, tileGetTexture(1196 + pspr_ndx[myconnectindex], true), xd, yd, DTA_ScaleX, sc, DTA_ScaleY, sc, DTA_Rotate, daang * (-360. / 2048),
DTA_CenterOffsetRel, true, DTA_TranslationIndex, TRANSLATION(Translation_Remap, spr->pal), DTA_Color, shadeToLight(spr->shade),
DTA_Alpha, (spr->cstat & 2) ? 0.33 : 1., TAG_DONE);
}