changeset 1122:45a8862d8b6e

small mistake in ApplyDecals()
author zipi
date Thu, 30 May 2013 21:14:24 +0100
parents 72eb21a62633
children dd1cb6a2dba6
files DecalBuilder.cpp mm7_6.cpp
diffstat 2 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/DecalBuilder.cpp	Thu May 30 20:25:50 2013 +0100
+++ b/DecalBuilder.cpp	Thu May 30 21:14:24 2013 +0100
@@ -185,7 +185,6 @@
         memcpy(&static_AE4F90[i], a6, 0x30u);
 		++a6;
       }
-      while ( !v15 );
     v16 = a4;
     if ( pGame->pIndoorCameraD3D->_437376(a4, static_AE4F90, (unsigned int *)&a5) == 1 )
     {
--- a/mm7_6.cpp	Thu May 30 20:25:50 2013 +0100
+++ b/mm7_6.cpp	Thu May 30 21:14:24 2013 +0100
@@ -2599,7 +2599,7 @@
   AwardType *v607; // ecx@1100
   __int16 v608; // ax@1102
   signed int v609; // eax@1104
-  int v610; // edi@1106
+  //int v610; // edi@1106
   unsigned int v611; // eax@1106
   Player *v612; // edi@1106
   DDM_DLV_Header *v613; // eax@1108
@@ -6216,7 +6216,7 @@
 				pCastSpell->spellnum = 0;
 				continue;
 			}
-			v610 = 76 * v609;
+			//v610 = 76 * v609;
 			//*((int *)&pParty->pPlayers[3].pInstalledBeacons[4].uBeaconTime + 19 * v609) = 0;
 			pParty->pHirelings[v609-1].evt_B = 0;
 			v611 = pIconsFrameTable->FindIcon("spell96");