diff LayingItem.cpp @ 225:e3fd201a58f0

Merge
author Gloval
date Sun, 17 Feb 2013 14:47:58 +0400
parents 07eb7d649bd5
children 2799737f8a74
line wrap: on
line diff
--- a/LayingItem.cpp	Sun Feb 17 14:46:05 2013 +0400
+++ b/LayingItem.cpp	Sun Feb 17 14:47:58 2013 +0400
@@ -113,7 +113,7 @@
   unsigned __int16 *pAttributes; // ecx@2
   unsigned __int16 v3; // ax@2
 
-  __debugbreak(); // find out what's going on
+  //__debugbreak(); // find out what's going on
 
   v1 = uLayingItemID;
   pLayingItems[v1].uObjectDescID = 0;
@@ -123,7 +123,7 @@
     v3 = *pAttributes;
     if ( *pAttributes & 4 )
     {
-      LOBYTE(v3) = v3 & 0xFB;
+      v3 = v3 & 0xFB;
       --pTurnEngine->field_1C;
       *pAttributes = v3;
     }