mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-24 02:01:17 +00:00
Fix #1378
This commit is contained in:
parent
9506ec138a
commit
00c928d930
1 changed files with 3 additions and 3 deletions
|
@ -3658,7 +3658,7 @@ static void F_DrawContinueCharacter(INT32 dx, INT32 dy, UINT8 n)
|
||||||
(
|
(
|
||||||
HUD_HOOK(continue), luahuddrawlist_continue[n], contPlayers[n],
|
HUD_HOOK(continue), luahuddrawlist_continue[n], contPlayers[n],
|
||||||
dx, dy, contskins[n]->highresscale,
|
dx, dy, contskins[n]->highresscale,
|
||||||
(INT32)(&contskins[n] - skins), cont_spr2[n][0], cont_spr2[n][1], cont_spr2[n][2] + 1, contColors[n], // add 1 to rotation to convert internal angle numbers (0-7) to WAD editor angle numbers (1-8)
|
(INT32)(contskins[n]->skinnum), cont_spr2[n][0], cont_spr2[n][1], cont_spr2[n][2] + 1, contColors[n], // add 1 to rotation to convert internal angle numbers (0-7) to WAD editor angle numbers (1-8)
|
||||||
imcontinuing ? continuetime : timetonext, imcontinuing
|
imcontinuing ? continuetime : timetonext, imcontinuing
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -3724,7 +3724,7 @@ void F_ContinueDrawer(void)
|
||||||
else if (ncontinues > 10)
|
else if (ncontinues > 10)
|
||||||
{
|
{
|
||||||
if (!(continuetime & 1) || continuetime > 17)
|
if (!(continuetime & 1) || continuetime > 17)
|
||||||
V_DrawContinueIcon(x, 68, 0, (INT32)(&contskins[0] - skins), contColors[0]);
|
V_DrawContinueIcon(x, 68, 0, contskins[0]->skinnum, contColors[0]);
|
||||||
V_DrawScaledPatch(x+12, 66, 0, stlivex);
|
V_DrawScaledPatch(x+12, 66, 0, stlivex);
|
||||||
V_DrawRightAlignedString(x+38, 64, 0,
|
V_DrawRightAlignedString(x+38, 64, 0,
|
||||||
va("%d",(imcontinuing ? ncontinues-1 : ncontinues)));
|
va("%d",(imcontinuing ? ncontinues-1 : ncontinues)));
|
||||||
|
@ -3738,7 +3738,7 @@ void F_ContinueDrawer(void)
|
||||||
{
|
{
|
||||||
if (i == (ncontinues/2) && ((continuetime & 1) || continuetime > 17))
|
if (i == (ncontinues/2) && ((continuetime & 1) || continuetime > 17))
|
||||||
continue;
|
continue;
|
||||||
V_DrawContinueIcon(x - (i*30), 68, 0, (INT32)(&contskins[0] - skins), contColors[0]);
|
V_DrawContinueIcon(x - (i*30), 68, 0, contskins[0]->skinnum, contColors[0]);
|
||||||
}
|
}
|
||||||
x = BASEVIDWIDTH>>1;
|
x = BASEVIDWIDTH>>1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue