Mercurial > mm7
comparison Chest.cpp @ 599:deb559e4fe47
Merge
author | Gloval |
---|---|
date | Wed, 06 Mar 2013 22:47:21 +0400 |
parents | 96f48cfdd657 |
children | db4a23580e6c 7bae884b7cd0 |
comparison
equal
deleted
inserted
replaced
598:f8a4a2e0b4c9 | 599:deb559e4fe47 |
---|---|
611 break; | 611 break; |
612 } | 612 } |
613 if(test_position<uChestArea) | 613 if(test_position<uChestArea) |
614 { | 614 { |
615 Chest::PlaceItemAt((unsigned __int8)chest_cells_map[test_position], items_counter, uChestID); | 615 Chest::PlaceItemAt((unsigned __int8)chest_cells_map[test_position], items_counter, uChestID); |
616 if ( pChests[uChestID].uFlags & 4 ) | 616 if ( pChests[uChestID].uFlags & CHEST_OPENED) |
617 pChests[uChestID].igChestItems[items_counter].SetIdentified(); | 617 pChests[uChestID].igChestItems[items_counter].SetIdentified(); |
618 } | 618 } |
619 } | 619 } |
620 } | 620 } |
621 pChests[uChestID].SetInitialized(true); | 621 pChests[uChestID].SetInitialized(true); |