summaryrefslogtreecommitdiff
path: root/src/gui/menuwindow.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2007-01-15 18:04:26 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2007-01-15 18:04:26 +0000
commit91dd615dac22bf465267e5e3ce145a8da81541d8 (patch)
treec97fb0261010e3596daac06e00f9c1937e818185 /src/gui/menuwindow.cpp
parent37c4ff1d8c00c2215d0feeaa6ba0d86b9916e3af (diff)
downloadmana-91dd615dac22bf465267e5e3ce145a8da81541d8.tar.gz
mana-91dd615dac22bf465267e5e3ce145a8da81541d8.tar.bz2
mana-91dd615dac22bf465267e5e3ce145a8da81541d8.tar.xz
mana-91dd615dac22bf465267e5e3ce145a8da81541d8.zip
Fixed issue where the player stops walking.v0.0.22.1
Diffstat (limited to 'src/gui/menuwindow.cpp')
-rw-r--r--src/gui/menuwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/menuwindow.cpp b/src/gui/menuwindow.cpp
index ba4c8e94..a5b5c99e 100644
--- a/src/gui/menuwindow.cpp
+++ b/src/gui/menuwindow.cpp
@@ -58,7 +58,8 @@ MenuWindow::MenuWindow():
};
int x = 0, y = 3, h = 0;
- for (const char **curBtn = buttonNames; *curBtn; curBtn++) {
+ for (const char **curBtn = buttonNames; *curBtn; curBtn++)
+ {
gcn::Button *btn = new Button(*curBtn, *curBtn, &listener);
btn->setPosition(x, y);
add(btn);