diff UI/UICharacter.cpp @ 2093:52415f8bf7c2

RasterLine2D (continue)
author Ritor1
date Thu, 12 Dec 2013 18:07:08 +0600
parents a869b0376b48
children e460ca22fe8a
line wrap: on
line diff
--- a/UI/UICharacter.cpp	Thu Dec 12 13:55:42 2013 +0600
+++ b/UI/UICharacter.cpp	Thu Dec 12 18:07:08 2013 +0600
@@ -1387,11 +1387,11 @@
         }
         else
         {
-          if ( item->uAttributes & 2 )
+          if ( item->uAttributes & ITEM_BROKEN )
             pRenderer->DrawTransparentRedShade(item_X, item_Y, pIcons_LOD->GetTexture(v127));
           else
           {
-            if ( item->uAttributes & 1 )
+            if ( item->uAttributes & ITEM_IDENTIFIED )
               pRenderer->DrawTextureTransparent(item_X, item_Y, pIcons_LOD->GetTexture(v127));
             else
               pRenderer->DrawTransparentGreenShade(item_X, item_Y, pIcons_LOD->GetTexture(v127));