mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-20 18:42:26 +00:00
- Duke (RR): Move displaydynamite()
lambda to new weapon offsets.
This commit is contained in:
parent
387e0286ac
commit
70d7210462
1 changed files with 3 additions and 2 deletions
|
@ -702,9 +702,10 @@ void displayweapon_r(int snum, double interpfrac)
|
|||
|
||||
auto displaydynamite = [&]
|
||||
{
|
||||
gun_pos -= 9 * (*kb);
|
||||
offsets.X += weapon_xoffset;
|
||||
offsets.Y -= gun_pos - 9 * (*kb);
|
||||
|
||||
rdmyospal(weapon_xoffset + 190 - look_anghalf, looking_arc + 260 - gun_pos, RTILE_HANDTHROW, shade, o, pal);
|
||||
rdmyospal(190 + offsets.X, 260 + offsets.Y, RTILE_HANDTHROW, shade, o, pal, angle);
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue