Mercurial > mm7
diff Engine/Graphics/Vis.cpp @ 2566:30eb6dcac768
big spell fx overhaul
author | a.parshin |
---|---|
date | Wed, 20 May 2015 21:05:07 +0200 |
parents | b6140dfeac27 |
children |
line wrap: on
line diff
--- a/Engine/Graphics/Vis.cpp Wed May 20 15:12:33 2015 +0200 +++ b/Engine/Graphics/Vis.cpp Wed May 20 21:05:07 2015 +0200 @@ -402,28 +402,28 @@ RenderVertexSoft v3; // [sp+68h] [bp-60h]@1 RenderVertexSoft v4; // [sp+98h] [bp-30h]@1 - v4.flt_2C = 0.0; - v4.vWorldPosition.x = 0.0; - v4.vWorldPosition.y = 65536.0; - v4.vWorldPosition.z = 0.0; - v3.flt_2C = 0.0; - v3.vWorldPosition.x = 65536.0; - v3.vWorldPosition.y = 0.0; - v3.vWorldPosition.z = 0.0; - memcpy(&v1, &v3, sizeof(v1)); + v2.flt_2C = 0.0; + v2.vWorldPosition.x = 0.0; + v2.vWorldPosition.y = 65536.0; + v2.vWorldPosition.z = 0.0; + + v1.flt_2C = 0.0; + v1.vWorldPosition.x = 65536.0; + v1.vWorldPosition.y = 0.0; + v1.vWorldPosition.z = 0.0; + v3.flt_2C = 0.0; v3.vWorldPosition.x = 0.0; v3.vWorldPosition.y = 65536.0; v3.vWorldPosition.z = 0.0; - memcpy(&v2, &v4, sizeof(v2)); + v4.flt_2C = 0.0; v4.vWorldPosition.x = 65536.0; v4.vWorldPosition.y = 0.0; v4.vWorldPosition.z = 0.0; + memcpy(&this->stru_200C, &v1, 0x60u); - memcpy(&v1, &v4, sizeof(v1)); - memcpy(&v2, &v3, sizeof(v2)); - memcpy(&this->stru_206C, &v1, 0x60u); + memcpy(&this->stru_206C, &v4, 0x60u); } //----- (004C1ABA) --------------------------------------------------------