mirror of
https://github.com/nzp-team/quakespasm.git
synced 2024-11-10 06:32:03 +00:00
NX/VITA: Fix Waffe and PaP'd weapons having wrong crosshair
This commit is contained in:
parent
481d4a02e1
commit
2617a83d20
1 changed files with 2 additions and 3 deletions
|
@ -1574,13 +1574,12 @@ void SCR_DrawCrosshair (void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cl.stats[STAT_ACTIVEWEAPON] == W_M2)
|
if (cl.stats[STAT_ACTIVEWEAPON] == W_M2 || cl.stats[STAT_ACTIVEWEAPON] == W_TESLA || cl.stats[STAT_ACTIVEWEAPON] == W_FIW || cl.stats[STAT_ACTIVEWEAPON] == W_DG3)
|
||||||
{
|
{
|
||||||
|
|
||||||
Draw_CharacterRGBA ((vid.width)/4-4, (vid.height)*3/4, 'O', 255, col, col, 0.7);
|
Draw_CharacterRGBA ((vid.width)/4-4, (vid.height)*3/4, 'O', 255, col, col, 0.7);
|
||||||
|
|
||||||
}
|
}
|
||||||
else if (crosshair.value == 1 && cl.stats[STAT_ZOOM] != 1 && cl.stats[STAT_ZOOM] != 2 && cl.stats[STAT_ACTIVEWEAPON] != W_PANZER)
|
else if (crosshair.value == 1 && cl.stats[STAT_ZOOM] != 1 && cl.stats[STAT_ZOOM] != 2 && cl.stats[STAT_ACTIVEWEAPON] != W_PANZER && cl.stats[STAT_ACTIVEWEAPON] != W_LONGINUS)
|
||||||
{
|
{
|
||||||
int x_value, y_value;
|
int x_value, y_value;
|
||||||
int crosshair_offset = CrossHairWeapon() + cur_spread;
|
int crosshair_offset = CrossHairWeapon() + cur_spread;
|
||||||
|
|
Loading…
Reference in a new issue