Mercurial > mm7
comparison Chest.cpp @ 592:96f48cfdd657
some flags
author | Nomad |
---|---|
date | Wed, 06 Mar 2013 15:55:35 +0200 |
parents | ec3546510fa1 |
children | db4a23580e6c 7bae884b7cd0 |
comparison
equal
deleted
inserted
replaced
574:f90753ebabe3 | 592:96f48cfdd657 |
---|---|
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); |