Mercurial > mm7
diff Indoor.cpp @ 120:fe0e317c0de0
Camera rotation fixed. Sorta
author | Nomad |
---|---|
date | Sun, 10 Feb 2013 23:43:28 +0200 |
parents | 9c0607679772 |
children | cca78efb377e |
line wrap: on
line diff
--- a/Indoor.cpp Sun Feb 10 23:14:42 2013 +0200 +++ b/Indoor.cpp Sun Feb 10 23:43:28 2013 +0200 @@ -373,9 +373,9 @@ _this.uFlags = v0; _this.vPosition.x = pParty->vPosition.x - ((unsigned __int64)(stru_5C6E00->SinCos(pParty->sRotationY) - * (signed __int64)pParty->field_18) >> 16); + * (signed __int64)pParty->y_rotation_granularity) >> 16); v2 = stru_5C6E00->SinCos(pParty->sRotationY - stru_5C6E00->uIntegerHalfPi); - v3 = (unsigned __int64)(v2 * (signed __int64)pParty->field_18) >> 16; + v3 = (unsigned __int64)(v2 * (signed __int64)pParty->y_rotation_granularity) >> 16; _this.field_1C_mb_fov = 65; _this.vPosition.y = pParty->vPosition.y - v3; _this.sRotationY = pParty->sRotationY;