mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-13 07:58:04 +00:00
- increase precision of local variable x
for displaypistol()
.
This commit is contained in:
parent
184465460e
commit
11b3f5a78a
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue