# HG changeset patch # User Grumpy7 # Date 1410029566 -7200 # Node ID b3f96acf6babd6302d539cc538b4f11fee6ea2c9 # Parent d58599b6306be3307bb31d941fab10be24c85c9e Fixing arrows not being drawn for 2nd player char diff -r d58599b6306b -r b3f96acf6bab SpriteObject.cpp --- a/SpriteObject.cpp Sun Aug 24 22:27:51 2014 +0600 +++ b/SpriteObject.cpp Sat Sep 06 20:52:46 2014 +0200 @@ -140,8 +140,8 @@ pSpriteObjects[v6].vVelocity.z = 0; if ( a4 ) { - v13 = fixpoint_mul(stru_5C6E00->Cos(angle), stru_5C6E00->Cos(pitch)) >> 16; - a5a = fixpoint_mul(stru_5C6E00->Sin(angle), stru_5C6E00->Cos(pitch)) >> 16; + v13 = fixpoint_mul(stru_5C6E00->Cos(angle), stru_5C6E00->Cos(pitch)); + a5a = fixpoint_mul(stru_5C6E00->Sin(angle), stru_5C6E00->Cos(pitch)); pSpriteObjects[v6].vVelocity.x = fixpoint_mul(v13, a4); pSpriteObjects[v6].vVelocity.y = fixpoint_mul(a5a, a4); pSpriteObjects[v6].vVelocity.z = fixpoint_mul(stru_5C6E00->Sin(pitch), a4);