diff Chest.cpp @ 599:deb559e4fe47

Merge
author Gloval
date Wed, 06 Mar 2013 22:47:21 +0400
parents 96f48cfdd657
children db4a23580e6c 7bae884b7cd0
line wrap: on
line diff
--- a/Chest.cpp	Wed Mar 06 22:46:40 2013 +0400
+++ b/Chest.cpp	Wed Mar 06 22:47:21 2013 +0400
@@ -613,7 +613,7 @@
             if(test_position<uChestArea)
                 {
                 Chest::PlaceItemAt((unsigned __int8)chest_cells_map[test_position], items_counter, uChestID);
-                if ( pChests[uChestID].uFlags & 4 )
+                if ( pChests[uChestID].uFlags & CHEST_OPENED)
                     pChests[uChestID].igChestItems[items_counter].SetIdentified();
                 }
             }