From bc7f01df39827dee7e24fb461b4d48510e0e3582 Mon Sep 17 00:00:00 2001 From: Samuel Villareal Date: Sun, 12 Sep 2010 00:27:22 +0000 Subject: + Items can be picked up now + Fixed targeter x/y offsets + Pickup Armor/Health/Ammo/Weapon updates Subversion-branch: /branches/strife-branch Subversion-revision: 2067 --- src/strife/p_pspr.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/strife/p_pspr.c') diff --git a/src/strife/p_pspr.c b/src/strife/p_pspr.c index 99981739..b4e7c1c2 100644 --- a/src/strife/p_pspr.c +++ b/src/strife/p_pspr.c @@ -966,8 +966,11 @@ void P_MovePsprites (player_t* player) player->psprites[ps_flash].sy = player->psprites[ps_weapon].sy; // villsa [STRIFE] extra stuff for targeter - player->psprites[ps_targleft].sx = (100 - player->accuracy) - (160*FRACUNIT); - player->psprites[ps_targright].sx = (100 - player->accuracy) + (160*FRACUNIT); + player->psprites[ps_targleft].sx = + (160*FRACUNIT) - ((100 - player->accuracy) << FRACBITS); + + player->psprites[ps_targright].sx = + ((100 - player->accuracy) << FRACBITS) + (160*FRACUNIT); } -- cgit v1.2.3