Skip to content

Commit

Permalink
title-version: Hide when loading a game (e.g. arena)
Browse files Browse the repository at this point in the history
  • Loading branch information
lethosor committed Jan 4, 2017
1 parent 92f890d commit affcd65
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/title-version.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit affcd65

Please sign in to comment.