From affcd658dc77cf16489439a0876c16fca784d2a8 Mon Sep 17 00:00:00 2001 From: lethosor Date: Wed, 4 Jan 2017 12:29:21 -0500 Subject: [PATCH] title-version: Hide when loading a game (e.g. arena) --- plugins/title-version.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/title-version.cpp b/plugins/title-version.cpp index 127a1bd9f..be7bc7e79 100644 --- a/plugins/title-version.cpp +++ b/plugins/title-version.cpp @@ -31,6 +31,9 @@ struct title_version_hook : df::viewscreen_titlest { DEFINE_VMETHOD_INTERPOSE(void, render, ()) { INTERPOSE_NEXT(render)(); + if (loading) + return; + int x = 0, y = 0; OutputString(COLOR_WHITE, x, y, string("DFHack ") + DFHACK_VERSION); if (!DFHACK_IS_RELEASE)