From 4cd80fa5d443fe8d90ce899306e4e8b0ccdca5dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Wed, 6 Jul 2011 12:52:16 +0200 Subject: [PATCH] Only warn user when needed. --- plugins/reveal.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/reveal.cpp b/plugins/reveal.cpp index 54db81916..452ceb100 100644 --- a/plugins/reveal.cpp +++ b/plugins/reveal.cpp @@ -177,7 +177,8 @@ DFhackCExport command_result reveal(DFHack::Core * c, std::vector & } c->Resume(); dfout << "Map revealed." << std::endl; - dfout << "Unpausing can unleash the forces of hell, so it has beed temporarily disabled!" << std::endl; + if(!no_hell) + dfout << "Unpausing can unleash the forces of hell, so it has beed temporarily disabled!" << std::endl; dfout << "Run 'unreveal' to revert to previous state." << std::endl; return CR_OK; }