diff SaveLoad.cpp @ 58:41cbaabde2cb

BLV render
author Nomad
date Thu, 25 Oct 2012 02:05:16 +0200
parents 916bec351934
children 05e4b4bd4d64
line wrap: on
line diff
--- a/SaveLoad.cpp	Wed Oct 24 17:33:46 2012 +0200
+++ b/SaveLoad.cpp	Thu Oct 25 02:05:16 2012 +0200
@@ -340,13 +340,13 @@
     DstBuf = operator new(0xF4240u);
     pDir.Reset();
     v52 = pParty->vPosition.x;
-    v51 = pParty->vPosition.z;
-    v62 = pParty->vPosition.y;
+    v51 = pParty->vPosition.y;
+    v62 = pParty->vPosition.z;
     v53 = pParty->sRotationY;
     v54 = pParty->sRotationX;
     pParty->vPosition.x = pParty->vPrevPosition.x;
-    pParty->vPosition.z = pParty->vPrevPosition.z;
-    pParty->vPosition.y = pParty->vPrevPosition.y;
+    pParty->vPosition.y = pParty->vPrevPosition.z;
+    pParty->vPosition.z = pParty->vPrevPosition.y;
     pParty->uFallStartY = pParty->vPrevPosition.y;
     pParty->sRotationY = pParty->sPrevRotationY;
     pParty->sRotationX = pParty->sPrevRotationX;
@@ -669,8 +669,8 @@
       }
     }
     pParty->vPosition.x = v52;
-    pParty->vPosition.z = v51;
-    pParty->vPosition.y = v62;
+    pParty->vPosition.y = v51;
+    pParty->vPosition.z = v62;
     pParty->uFallStartY = v62;
     pParty->sRotationY = v53;
     result = v54;