From 717ad68ead37d5b28e06f1e5624bae5b73231f37 Mon Sep 17 00:00:00 2001 From: Tametomo Date: Wed, 15 Apr 2009 20:13:51 +0200 Subject: Only notify the user that they will need to change maps for changing whether or not to display particle effects when in game, since they don't need to see it beforehand. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tametomo Signed-off-by: Bjørn Lindeijer --- src/gui/setup_video.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/gui/setup_video.cpp') diff --git a/src/gui/setup_video.cpp b/src/gui/setup_video.cpp index 8f358eda..4a5e06a4 100644 --- a/src/gui/setup_video.cpp +++ b/src/gui/setup_video.cpp @@ -32,6 +32,7 @@ #include "gui/widgets/textfield.h" #include "configuration.h" +#include "engine.h" #include "graphics.h" #include "localplayer.h" #include "log.h" @@ -464,9 +465,11 @@ void Setup_Video::action(const gcn::ActionEvent &event) { config.setValue("particleeffects", mParticleEffectsCheckBox->isSelected()); - new OkDialog(_("Particle effect settings changed."), - _("Restart your client or change maps " - "for the change to take effect.")); + if (engine) + { + new OkDialog(_("Particle effect settings changed."), + _("Changes will take effect on map change.")); + } } else if (event.getId() == "pickupchat") { -- cgit v1.2.3-70-g09d2