Skip to content

Commit

Permalink
Fix #5227: spinAngle was garbage, so affected vertices also turned in…
Browse files Browse the repository at this point in the history
…to garbage.
  • Loading branch information
MadrMan committed May 15, 2016
1 parent 9b8f9b5 commit 9bcf38d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rts/Sim/Projectiles/PieceProjectile.cpp
Expand Up @@ -73,6 +73,7 @@ CPieceProjectile::CPieceProjectile(
// this class are themselves synced and have
// LuaSynced{Ctrl, Read} exposure we treat
// them that way for consistency
spinAngle = 0.0f;
spinVec = gs->randVector().Normalize();
spinSpeed = gs->randFloat() * 20;

Expand Down

0 comments on commit 9bcf38d

Please sign in to comment.