mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
- fix some interpolation harshness with p->weapon_pos
.
This commit is contained in:
parent
7efa905a01
commit
6bd050e201
2 changed files with 5 additions and 5 deletions
|
@ -2122,7 +2122,7 @@ static void operateweapon(int snum, ESyncBits sb_snum, int psect)
|
||||||
{
|
{
|
||||||
p->curr_weapon = HANDREMOTE_WEAPON;
|
p->curr_weapon = HANDREMOTE_WEAPON;
|
||||||
p->last_weapon = -1;
|
p->last_weapon = -1;
|
||||||
p->weapon_pos = 10;
|
p->oweapon_pos = p->weapon_pos = 10;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2459,7 +2459,7 @@ static void operateweapon(int snum, ESyncBits sb_snum, int psect)
|
||||||
{
|
{
|
||||||
p->okickback_pic = p->kickback_pic = 0;
|
p->okickback_pic = p->kickback_pic = 0;
|
||||||
checkavailweapon(p);
|
checkavailweapon(p);
|
||||||
p->weapon_pos = -9;
|
p->oweapon_pos = p->weapon_pos = -9;
|
||||||
}
|
}
|
||||||
else p->kickback_pic++;
|
else p->kickback_pic++;
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -161,7 +161,7 @@ void resetplayerstats(int snum)
|
||||||
p->okickback_pic = p->kickback_pic = isRR()? 22 : 5;
|
p->okickback_pic = p->kickback_pic = isRR()? 22 : 5;
|
||||||
else p->okickback_pic = p->kickback_pic = 0;
|
else p->okickback_pic = p->kickback_pic = 0;
|
||||||
|
|
||||||
p->weapon_pos = 6;
|
p->oweapon_pos = p->weapon_pos = 6;
|
||||||
p->walking_snd_toggle= 0;
|
p->walking_snd_toggle= 0;
|
||||||
p->weapon_ang = 0;
|
p->weapon_ang = 0;
|
||||||
|
|
||||||
|
@ -273,7 +273,7 @@ void resetweapons(int snum)
|
||||||
}
|
}
|
||||||
|
|
||||||
p->gotweapon.Zero();
|
p->gotweapon.Zero();
|
||||||
p->weapon_pos = 6;
|
p->oweapon_pos = p->weapon_pos = 6;
|
||||||
p->okickback_pic = p->kickback_pic = 5;
|
p->okickback_pic = p->kickback_pic = 5;
|
||||||
p->curr_weapon = PISTOL_WEAPON;
|
p->curr_weapon = PISTOL_WEAPON;
|
||||||
p->gotweapon.Set(PISTOL_WEAPON);
|
p->gotweapon.Set(PISTOL_WEAPON);
|
||||||
|
@ -400,7 +400,7 @@ void resetprestat(int snum,int g)
|
||||||
p->actors_killed = 0;
|
p->actors_killed = 0;
|
||||||
p->max_actors_killed = 0;
|
p->max_actors_killed = 0;
|
||||||
p->lastrandomspot = 0;
|
p->lastrandomspot = 0;
|
||||||
p->weapon_pos = 6;
|
p->oweapon_pos = p->weapon_pos = 6;
|
||||||
p->okickback_pic = p->kickback_pic = 5;
|
p->okickback_pic = p->kickback_pic = 5;
|
||||||
p->last_weapon = -1;
|
p->last_weapon = -1;
|
||||||
p->weapreccnt = 0;
|
p->weapreccnt = 0;
|
||||||
|
|
Loading…
Reference in a new issue