diff mm7_5.cpp @ 291:0ea5fbd16edb

NPC mostly done
author Gloval
date Tue, 19 Feb 2013 00:34:15 +0400
parents 92d443ed0cba
children a672f297c163 b0db84628733
line wrap: on
line diff
--- a/mm7_5.cpp	Mon Feb 18 20:47:41 2013 +0600
+++ b/mm7_5.cpp	Tue Feb 19 00:34:15 2013 +0400
@@ -2263,8 +2263,8 @@
               _5B65A8_npcdata_uflags_or_other = pNPCData4->uFlags;
               _5B65AC_npcdata_fame_or_other = pNPCData4->fame;
               _5B65B0_npcdata_rep_or_other = pNPCData4->rep;
-              _5B65B4_npcdata_loword_house_or_other = LOWORD(pNPCData4->house);
-              _5B65B8_npcdata_hiword_house_or_other = HIWORD(pNPCData4->house);
+              _5B65B4_npcdata_loword_house_or_other = LOWORD(pNPCData4->Location2D);
+              _5B65B8_npcdata_hiword_house_or_other = HIWORD(pNPCData4->Location2D);
               dword_5B65C0 = v0;
             }
             else
@@ -2273,8 +2273,8 @@
               pParty->vPosition.y = pNPCData4->fame;
               pParty->vPosition.z = pNPCData4->rep;
               pParty->uFallStartY = pParty->vPosition.z;
-              pParty->sRotationY = LOWORD(pNPCData4->house);
-              pParty->sRotationX = HIWORD(pNPCData4->house);
+              pParty->sRotationY = LOWORD(pNPCData4->Location2D);
+              pParty->sRotationX = HIWORD(pNPCData4->Location2D);
             }
             if ( (signed int)pMessageQueue_50CBD0->uNumMessages < 40 )
             {
@@ -2303,8 +2303,8 @@
             pNPCData2->uFlags = pParty->vPosition.x;
             pNPCData2->fame = pParty->vPosition.y;
             pNPCData2->rep = pParty->vPosition.z;
-            LOWORD(pNPCData2->house) = LOWORD(pParty->sRotationY);
-            HIWORD(pNPCData2->house) = LOWORD(pParty->sRotationX);
+            LOWORD(pNPCData2->Location2D) = LOWORD(pParty->sRotationY);
+            HIWORD(pNPCData2->Location2D) = LOWORD(pParty->sRotationX);
             if ( (signed int)pGames_LOD->uNumSubIndices / 2 <= 0 )
               continue;
             uAction = 0;