- increase precision of local variable x for displaypistol().

This commit is contained in:
Mitchell Richters 2020-08-02 14:11:07 +10:00 committed by Christoph Oelckers
parent 184465460e
commit 11b3f5a78a

View file

@ -813,14 +813,14 @@ void displayweapon_d(int snum, double smoothratio)
if (p->kickback_pic < 5) if (p->kickback_pic < 5)
{ {
short kb_frames[] = { 0,1,2,0,0 }, l; short kb_frames[] = { 0,1,2,0,0 };
l = 195 - 12 + weapon_xoffset; double l = 195 - 12 + weapon_xoffset;
if (p->kickback_pic == 2) if (p->kickback_pic == 2)
l -= 3; l -= 3;
{ {
int x, y; double x, y;
short tilenum; short tilenum;
signed char shade; signed char shade;
char orientation; char orientation;