[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] r4163 - branches/pingus-hanusz/src
From: |
grumbel |
Subject: |
[Pingus-CVS] r4163 - branches/pingus-hanusz/src |
Date: |
Wed, 25 May 2011 16:36:52 +0200 |
Author: grumbel
Date: 2011-05-25 16:36:51 +0200 (Wed, 25 May 2011)
New Revision: 4163
Modified:
branches/pingus-hanusz/src/client.cpp
Log:
Fixed armageddon button, which wasn't hidden
Modified: branches/pingus-hanusz/src/client.cpp
===================================================================
--- branches/pingus-hanusz/src/client.cpp 2011-05-25 14:19:28 UTC (rev
4162)
+++ branches/pingus-hanusz/src/client.cpp 2011-05-25 14:36:51 UTC (rev
4163)
@@ -73,11 +73,15 @@
gui_manager->add(time_display, true);
#if defined(PINGUS_MODE_NEUTRAL) || defined(PINGUS_MODE_EVIL) ||
defined(PINGUS_MODE_NICE)
+ gui_manager->add(new ForwardButton (server, Display::get_width() - 40 * 1,
Display::get_height() - 62), true);
+ gui_manager->add(new PauseButton (server, Display::get_width() - 40 * 2,
Display::get_height() - 62), true);
+#else
gui_manager->add(new ArmageddonButton(server, Display::get_width() - 40,
Display::get_height() - 62), true);
-#endif
gui_manager->add(new ForwardButton (server, Display::get_width() - 40 * 2,
Display::get_height() - 62), true);
gui_manager->add(new PauseButton (server, Display::get_width() - 40 * 3,
Display::get_height() - 62), true);
+#endif
+
// Connect the button_panel with the playfield
playfield->set_server(server);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] r4163 - branches/pingus-hanusz/src,
grumbel <=