mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-30 13:21:04 +00:00
- SW: Fix the Uzi's reload interpolation issues.
This commit is contained in:
parent
78e0e94f58
commit
7af5d26feb
1 changed files with 4 additions and 4 deletions
|
@ -1910,8 +1910,8 @@ pUziReload(PANEL_SPRITEp nclip)
|
||||||
{
|
{
|
||||||
PlaySound(DIGI_REPLACECLIP, nclip->PlayerP,v3df_follow|v3df_dontpan|v3df_doppler);
|
PlaySound(DIGI_REPLACECLIP, nclip->PlayerP,v3df_follow|v3df_dontpan|v3df_doppler);
|
||||||
|
|
||||||
nclip->ox = nclip->x = gun->ox = gun->x - UZI_CLIP_XOFF;
|
nclip->ox = nclip->x = gun->x - UZI_CLIP_XOFF;
|
||||||
nclip->ox = nclip->y = gun->oy = gun->y + UZI_CLIP_YOFF;
|
nclip->ox = nclip->y = gun->y + UZI_CLIP_YOFF;
|
||||||
nclip->vel = 680;
|
nclip->vel = 680;
|
||||||
nclip->ang = NORM_ANGLE(nclip->ang - 128 - 64);
|
nclip->ang = NORM_ANGLE(nclip->ang - 128 - 64);
|
||||||
// go to retract phase
|
// go to retract phase
|
||||||
|
@ -1924,8 +1924,8 @@ pUziReload(PANEL_SPRITEp nclip)
|
||||||
{
|
{
|
||||||
PlaySound(DIGI_REPLACECLIP, nclip->PlayerP,v3df_follow|v3df_dontpan|v3df_doppler);
|
PlaySound(DIGI_REPLACECLIP, nclip->PlayerP,v3df_follow|v3df_dontpan|v3df_doppler);
|
||||||
|
|
||||||
nclip->ox = nclip->x = gun->ox = gun->x + UZI_CLIP_XOFF;
|
nclip->ox = nclip->x = gun->x + UZI_CLIP_XOFF;
|
||||||
nclip->ox = nclip->y = gun->oy = gun->y + UZI_CLIP_YOFF;
|
nclip->ox = nclip->y = gun->y + UZI_CLIP_YOFF;
|
||||||
nclip->vel = 680;
|
nclip->vel = 680;
|
||||||
nclip->ang = NORM_ANGLE(nclip->ang + 128 + 64);
|
nclip->ang = NORM_ANGLE(nclip->ang + 128 + 64);
|
||||||
// go to retract phase
|
// go to retract phase
|
||||||
|
|
Loading…
Reference in a new issue