From 5999dc63daf86a54cd282e3766bf62e52175f4f7 Mon Sep 17 00:00:00 2001 From: lethosor Date: Tue, 10 Jun 2014 17:30:02 -0400 Subject: [PATCH] Use setupdwarfgame field names --- plugins/tweak.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/tweak.cpp b/plugins/tweak.cpp index 8c4d40252..c8052a386 100644 --- a/plugins/tweak.cpp +++ b/plugins/tweak.cpp @@ -355,7 +355,7 @@ struct confirm_embark_hook : df::viewscreen_setupdwarfgamest DEFINE_VMETHOD_INTERPOSE(void, feed, (set *input)) { bool intercept = false; - if (this->anon_14 == 0) // Advanced embark screen + if (this->show_play_now == 0) { if (confirm_embark_state == ECS_INACTIVE) { @@ -405,7 +405,7 @@ struct confirm_embark_hook : df::viewscreen_setupdwarfgamest OutputString(COLOR_LIGHTGREEN, x, y, Screen::getKeyDisplay(df::interface_key::MENU_CONFIRM)); OutputString(COLOR_WHITE, x, y, " = yes, other = no)"); x = 2, y = 4; - int32_t points = this->anon_37; + int32_t points = this->points_remaining; OutputString(COLOR_WHITE, x, y, "Points left: "); OutputString((points ? COLOR_YELLOW : COLOR_LIGHTGREEN), x, y, std::to_string(points)); x = dim.x - 10, y = dim.y - 1;