Little tweaks and stuff
- New file extension .boes for scenarios - intent is to use this for the new scenario format - Turn on auto-enable for Application menu in the game (otherwise the Show/Hide options don't grey out correctly) - Fix PC graphics not appearing in PC editor
This commit is contained in:
@@ -762,12 +762,13 @@ short dist_from_party(location where)
|
||||
return store;
|
||||
}
|
||||
|
||||
// TODO: I have no idea what is going on here, other than that it seems to have something to do items being picked up in town
|
||||
void set_item_flag(cItemRec *item)
|
||||
{
|
||||
if ((item->is_special > 0) && (item->is_special < 65)) {
|
||||
item->is_special--;
|
||||
univ.party.item_taken[univ.town.num][item->is_special / 8] =
|
||||
univ.party.item_taken[univ.town.num][item->is_special / 8] | s_pow(2,item->is_special % 8);
|
||||
univ.party.item_taken[univ.town.num][item->is_special / 8] | s_pow(2,item->is_special % 8);
|
||||
item->is_special = 0;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user