Add item-monster selection palette which fills the same space as the terrain palette
- Removed the item/monster menus in the scenario editor (they weren't function anyway) - Scrollbars can now have a maximum value of 0; if this is the case, they do not draw a thumb
This commit is contained in:
@@ -259,7 +259,7 @@ cTown::cItem::cItem() {
|
||||
}
|
||||
|
||||
cTown::cItem::cItem(location loc, short num, ::cItem& item) : cItem() {
|
||||
loc = loc;
|
||||
this->loc = loc;
|
||||
code = num;
|
||||
if(item.variety == eItemType::GOLD || item.variety == eItemType::FOOD)
|
||||
charges = get_ran(1,4,6);
|
||||
|
||||
Reference in New Issue
Block a user