Use SHORT on just the vars
This commit is contained in:
parent
de316f1ee1
commit
4f38982968
|
@ -6927,7 +6927,7 @@ static void K_DrawKartPositionNum(INT32 num)
|
||||||
else
|
else
|
||||||
localpatch = kp_positionnum[num % 10][0];
|
localpatch = kp_positionnum[num % 10][0];
|
||||||
|
|
||||||
V_DrawFixedPatch((fx<<FRACBITS) + ((overtake && flipdraw) ? (SHORT(localpatch->width*scale/2)) : 0), (fy<<FRACBITS) + ((overtake && flipvdraw) ? (SHORT(localpatch->height*scale/2)) : 0), scale, V_HUDTRANSHALF|fflags, localpatch, NULL);
|
V_DrawFixedPatch((fx<<FRACBITS) + ((overtake && flipdraw) ? (SHORT(localpatch->width)*scale/2) : 0), (fy<<FRACBITS) + ((overtake && flipvdraw) ? (SHORT(localpatch->height)*scale/2) : 0), scale, V_HUDTRANSHALF|fflags, localpatch, NULL);
|
||||||
// ^ if we overtake as p1 or p3 in splitscren, we shift it so that it doesn't go off screen.
|
// ^ if we overtake as p1 or p3 in splitscren, we shift it so that it doesn't go off screen.
|
||||||
// ^ if we overtake as p1 in 2p splits, shift vertically so that this doesn't happen either.
|
// ^ if we overtake as p1 in 2p splits, shift vertically so that this doesn't happen either.
|
||||||
|
|
||||||
|
@ -7383,7 +7383,7 @@ static void K_drawKartWanted(void)
|
||||||
}
|
}
|
||||||
else if (splitscreen == 3) // 4P splitscreen...
|
else if (splitscreen == 3) // 4P splitscreen...
|
||||||
{
|
{
|
||||||
basex = BASEVIDWIDTH/2 - (SHORT(kp_wantedsplit->width/2)); // center on screen
|
basex = BASEVIDWIDTH/2 - (SHORT(kp_wantedsplit->width)/2); // center on screen
|
||||||
basey = BASEVIDHEIGHT - 55;
|
basey = BASEVIDHEIGHT - 55;
|
||||||
//basey2 = 4;
|
//basey2 = 4;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue