mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-23 12:32:13 +00:00
- Duke: Remove unused angle rotation from animatesprites_r()
.
This commit is contained in:
parent
3c51f03def
commit
559ee2f3c6
1 changed files with 0 additions and 2 deletions
|
@ -39,7 +39,6 @@ BEGIN_DUKE_NS
|
|||
|
||||
void animatesprites_r(tspriteArray& tsprites, const DVector2& viewVec, DAngle viewang, double interpfrac)
|
||||
{
|
||||
int k;
|
||||
tspritetype* t;
|
||||
DDukeActor* h;
|
||||
|
||||
|
@ -227,7 +226,6 @@ void animatesprites_r(tspriteArray& tsprites, const DVector2& viewVec, DAngle vi
|
|||
else if (p->OnBoat)
|
||||
{
|
||||
t->setspritetexture(TexMan.CheckForTexture("PLAYERONBOAT", ETextureType::Any));
|
||||
k = angletorotation2(h->spr.Angles.Yaw, viewang);
|
||||
applyRotation2(h, t, viewang);
|
||||
t->scale = DVector2(0.5, 0.5);
|
||||
drawshadows(tsprites, t, h);
|
||||
|
|
Loading…
Reference in a new issue