diff mm7_2.cpp @ 1137:62c759bc49f7

m
author Ritor1
date Sat, 01 Jun 2013 10:32:08 +0600
parents a19cdcaa36fe
children f947bedb2859
line wrap: on
line diff
--- a/mm7_2.cpp	Sat May 25 02:23:47 2013 +0600
+++ b/mm7_2.cpp	Sat Jun 01 10:32:08 2013 +0600
@@ -10525,13 +10525,13 @@
       if ( uCurrentlyLoadedLevelType == LEVEL_Outdoor )
       {
         int bmodel_id = a1 >> 9,
-            face_id = PID_ID(a1) &0x3F;
+            face_id = PID_ID(a1) & 0x3F;
         if (bmodel_id >= pOutdoor->uNumBModels)
           return 1;
         auto face = &pOutdoor->pBModels[bmodel_id].pFaces[face_id];
-        if (face->uAttributes & 0x100000 || (v6 = face->sCogTriggeredID) == 0 )
+        if (face->uAttributes & 0x100000 || face->sCogTriggeredID == 0 )
           return 1;
-        EventProcessor((signed __int16)v6, v2, 1);
+        EventProcessor((signed __int16)face->sCogTriggeredID, v2, 1);
       }
       else
       {