Mercurial > mm7
diff mm7_3.cpp @ 870:a0ae8d36c2d6
TavernDialog fixed
author | Ritor1 |
---|---|
date | Mon, 01 Apr 2013 13:02:05 +0600 |
parents | 715064ae1792 |
children | 2db21a810d48 |
line wrap: on
line diff
--- a/mm7_3.cpp Mon Apr 01 09:05:51 2013 +0600 +++ b/mm7_3.cpp Mon Apr 01 13:02:05 2013 +0600 @@ -6086,8 +6086,8 @@ v37 += ((unsigned __int64)(_this.ptr_38->field_10 * v13) >> 16); v36 += ((unsigned __int64)(_this.ptr_38->field_1C * v13) >> 16); - v35 = 224 * pMiscTimer->uTotalGameTimeElapsed + (signed int)((unsigned __int64)(v37 * v18) >> 16) / 8; - v36 = 224 * pMiscTimer->uTotalGameTimeElapsed + (signed int)((unsigned __int64)(v36 * v18) >> 16) / 8; + v35 = 224 * pMiscTimer->uTotalGameTimeElapsed + fixpoint_mul(v37, v18) / 8; + v36 = 224 * pMiscTimer->uTotalGameTimeElapsed + fixpoint_mul(v37, v18) / 8; //array_50AC10[i].vWorldViewPosition.x = pOutdoorCamera->shading_dist_mist; //array_50AC10[i].vWorldPosition.x = v36 / (_this.pTexture->uTextureHeight * 65536.0);