Skip to content

Commit

Permalink
Merge branch 'develop' into adv-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
myk002 committed Sep 27, 2024
2 parents 1d5170a + 8354cee commit 9f00c90
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
18 changes: 18 additions & 0 deletions docs/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,24 @@ Template for new versions:

## New Features

## Fixes

## Misc Improvements

## Documentation

## API

## Lua

## Removed

# 50.14-r1

## New Tools

## New Features

## Fixes
- `preserve-rooms`: don't reserve a room for citizens that you expel from the fort
- `autobutcher`: fix regression in ordering of butcherable animals
Expand Down
4 changes: 2 additions & 2 deletions library/modules/Gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ DEFINE_GET_FOCUS_STRING_HANDLER(world)
}

static bool widget_is_visible(df::widget * w) {
return w && w->visibility_flags.bits.VISIBILITY_VISIBLE;
return w && w->flag.bits.VISIBILITY_VISIBLE;
}

static size_t get_num_children(df::widget * w) {
Expand Down Expand Up @@ -696,7 +696,7 @@ static void add_main_interface_focus_strings(const string &baseFocus, vector<str
newFocusString += "/ImageCreator";
focusStrings.push_back(newFocusString);
}
if (game->main_interface.unit_selector.visibility_flags.bits.VISIBILITY_ACTIVE) {
if (game->main_interface.unit_selector.flag.bits.VISIBILITY_ACTIVE) {
newFocusString = baseFocus;
newFocusString += "/UnitSelector/";
newFocusString += enum_item_key(game->main_interface.unit_selector.context);
Expand Down
2 changes: 1 addition & 1 deletion library/xml
Submodule xml updated 3 files
+8 −0 changelog.txt
+1 −1 df.viewscreen.xml
+4,064 −4,062 symbols.xml

0 comments on commit 9f00c90

Please sign in to comment.