summaryrefslogtreecommitdiff
path: root/src/gui/setup.cpp
diff options
context:
space:
mode:
authorReid <reidyaro@gmail.com>2011-08-08 16:51:11 +0200
committerReid <reidyaro@gmail.com>2011-08-08 16:51:11 +0200
commit7f8498bf14338f67089881afb14b0b398a152c8c (patch)
treee0ba5648c775776be6177dae3c0c8b50922517b1 /src/gui/setup.cpp
parent391a4c3a1e4d5c3815ba7c822fb9bd03969dea6e (diff)
parentbcd0bdb1f087c3153d070baa274e7ecf8c8268e1 (diff)
downloadplus-7f8498bf14338f67089881afb14b0b398a152c8c.tar.gz
plus-7f8498bf14338f67089881afb14b0b398a152c8c.tar.bz2
plus-7f8498bf14338f67089881afb14b0b398a152c8c.tar.xz
plus-7f8498bf14338f67089881afb14b0b398a152c8c.zip
Merge branch 'master' of gitorious.org:manaplus/manaplus
Diffstat (limited to 'src/gui/setup.cpp')
-rw-r--r--src/gui/setup.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/setup.cpp b/src/gui/setup.cpp
index 76588a860..33ff6ddb7 100644
--- a/src/gui/setup.cpp
+++ b/src/gui/setup.cpp
@@ -23,6 +23,7 @@
#include "gui/setup.h"
#include "configuration.h"
+#include "game.h"
#include "main.h"
#include "gui/setup_audio.h"
@@ -129,6 +130,8 @@ Setup::~Setup()
void Setup::action(const gcn::ActionEvent &event)
{
+ if (Game::instance())
+ Game::instance()->resetAdjustLevel();
if (event.getId() == "Apply")
{
setVisible(false);