diff options
author | Tametomo <irarice@gmail.com> | 2009-04-15 20:13:51 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-15 20:13:51 +0200 |
commit | 717ad68ead37d5b28e06f1e5624bae5b73231f37 (patch) | |
tree | 6834f715c7abeed7943bdf708757ca990c236ebe | |
parent | 9c2139f8b11f554cbc884bbb52278399e6994074 (diff) | |
download | mana-717ad68ead37d5b28e06f1e5624bae5b73231f37.tar.gz mana-717ad68ead37d5b28e06f1e5624bae5b73231f37.tar.bz2 mana-717ad68ead37d5b28e06f1e5624bae5b73231f37.tar.xz mana-717ad68ead37d5b28e06f1e5624bae5b73231f37.zip |
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.
Signed-off-by: Tametomo <irarice@gmail.com>
Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
-rw-r--r-- | src/gui/setup_video.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
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") { |