Skip to content

Commit c770bfe

Browse files
committed
Merge remote-tracking branch 'upstream/testing' into develop
2 parents 1b78e55 + 1deac1d commit c770bfe

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ cmake_policy(SET CMP0074 NEW)
77
project(dfhack)
88

99
# set up versioning.
10-
set(DF_VERSION "50.13")
11-
set(DFHACK_RELEASE "r5")
12-
set(DFHACK_PRERELEASE FALSE)
10+
set(DF_VERSION "50.14")
11+
set(DFHACK_RELEASE "beta")
12+
set(DFHACK_PRERELEASE TRUE)
1313

1414
set(DFHACK_VERSION "${DF_VERSION}-${DFHACK_RELEASE}")
1515
set(DFHACK_ABI_VERSION 2)

library/modules/Gui.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ DEFINE_GET_FOCUS_STRING_HANDLER(world)
258258
}
259259

260260
static bool widget_is_visible(df::widget * w) {
261-
return w && w->visibility_flags.bits.WIDGET_VISIBILITY_VISIBLE;
261+
return w && w->flag.bits.WIDGET_VISIBILITY_VISIBLE;
262262
}
263263

264264
static size_t get_num_children(df::widget * w) {
@@ -700,7 +700,7 @@ DEFINE_GET_FOCUS_STRING_HANDLER(dwarfmode)
700700
newFocusString += "/ImageCreator";
701701
focusStrings.push_back(newFocusString);
702702
}
703-
if (game->main_interface.unit_selector.visibility_flags.bits.WIDGET_VISIBILITY_ACTIVE) {
703+
if (game->main_interface.unit_selector.flag.bits.WIDGET_VISIBILITY_ACTIVE) {
704704
newFocusString = baseFocus;
705705
newFocusString += "/UnitSelector/";
706706
newFocusString += enum_item_key(game->main_interface.unit_selector.context);

0 commit comments

Comments
 (0)