changeset 1088:8439c5df37cc

small mistakes
author zipi
date Sun, 26 May 2013 01:20:52 +0100
parents cde32f9b5f33
children 24372d97a7bf
files LightmapBuilder.cpp mm7_6.cpp
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/LightmapBuilder.cpp	Sun May 26 00:40:43 2013 +0100
+++ b/LightmapBuilder.cpp	Sun May 26 01:20:52 2013 +0100
@@ -930,6 +930,7 @@
         break;
       ApplyLight_ODM((StationaryLight *)pMobileLight, pFace, (unsigned int *)&pSlot, 1);
       ++v2;
+	  ++pSlot;
       ++pMobileLight;
     }
     while ( v2 < pMobileLightsStack->uNumLightsActive );
--- a/mm7_6.cpp	Sun May 26 00:40:43 2013 +0100
+++ b/mm7_6.cpp	Sun May 26 01:20:52 2013 +0100
@@ -4195,7 +4195,7 @@
 				pSpellSprite.uSoundID = LOWORD(pCastSpell->sound_id);
 				if ( pParty->bTurnBasedModeOn == 1 )
 					LOBYTE(pSpellSprite.uAttributes) |= 4u;
-				v227 = SHIDWORD(v733) / -2;
+				v227 = _v733 / -2;
 				signed int _y = _v733 / 2;
 				if ( _v733 / -2 <= _v733 / 2 )
 				{