Warnings fixed
This commit is contained in:
@@ -231,6 +231,7 @@ void drop_item(short pc_num,short item_num,location where_drop) {
|
|||||||
|
|
||||||
bool place_item(cItem item,location where,bool forced,bool contained) {
|
bool place_item(cItem item,location where,bool forced,bool contained) {
|
||||||
short i;
|
short i;
|
||||||
|
(void) forced;
|
||||||
|
|
||||||
if(contained && !is_container(where))
|
if(contained && !is_container(where))
|
||||||
contained = false;
|
contained = false;
|
||||||
@@ -555,7 +556,7 @@ static bool display_item_event_filter(cDialog& me, std::string id, size_t& first
|
|||||||
univ.party.spec_items.insert(item.item_level);
|
univ.party.spec_items.insert(item.item_level);
|
||||||
set_item_flag(&item);
|
set_item_flag(&item);
|
||||||
} else if(item.variety == eItemType::QUEST) {
|
} else if(item.variety == eItemType::QUEST) {
|
||||||
univ.party.quest_status[item.item_level] == eQuestStatus::STARTED;
|
univ.party.quest_status[item.item_level] = eQuestStatus::STARTED;
|
||||||
univ.party.quest_start[item.item_level] = univ.party.calc_day();
|
univ.party.quest_start[item.item_level] = univ.party.calc_day();
|
||||||
univ.party.quest_source[item.item_level] = -1;
|
univ.party.quest_source[item.item_level] = -1;
|
||||||
set_item_flag(&item);
|
set_item_flag(&item);
|
||||||
|
|||||||
Reference in New Issue
Block a user