Mercurial > mm7
changeset 2483:b3f96acf6bab
Fixing arrows not being drawn for 2nd player char
author | Grumpy7 |
---|---|
date | Sat, 06 Sep 2014 20:52:46 +0200 |
parents | d58599b6306b |
children | cc7019a533fc |
files | SpriteObject.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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);