Skip to content

Commit

Permalink
update for 50.14
Browse files Browse the repository at this point in the history
  • Loading branch information
myk002 committed Sep 4, 2024
1 parent c1486de commit 5ae7a58
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ cmake_policy(SET CMP0074 NEW)
project(dfhack)

# set up versioning.
set(DF_VERSION "50.13")
set(DFHACK_RELEASE "r4")
set(DFHACK_PRERELEASE FALSE)
set(DF_VERSION "50.14")
set(DFHACK_RELEASE "beta")
set(DFHACK_PRERELEASE TRUE)

set(DFHACK_VERSION "${DF_VERSION}-${DFHACK_RELEASE}")
set(DFHACK_ABI_VERSION 2)
Expand Down
4 changes: 2 additions & 2 deletions library/modules/Gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ DEFINE_GET_FOCUS_STRING_HANDLER(world)
}

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

static size_t get_num_children(df::widget * w) {
Expand Down Expand Up @@ -700,7 +700,7 @@ DEFINE_GET_FOCUS_STRING_HANDLER(dwarfmode)
newFocusString += "/ImageCreator";
focusStrings.push_back(newFocusString);
}
if (game->main_interface.unit_selector.visibility_flags.bits.WIDGET_VISIBILITY_ACTIVE) {
if (game->main_interface.unit_selector.flag.bits.WIDGET_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

0 comments on commit 5ae7a58

Please sign in to comment.