aboutsummaryrefslogtreecommitdiff
path: root/games/lordsawar/files/patch-src_gui_stack-army-button.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'games/lordsawar/files/patch-src_gui_stack-army-button.cpp')
-rw-r--r--games/lordsawar/files/patch-src_gui_stack-army-button.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/lordsawar/files/patch-src_gui_stack-army-button.cpp b/games/lordsawar/files/patch-src_gui_stack-army-button.cpp
new file mode 100644
index 000000000000..bb3a815d245d
--- /dev/null
+++ b/games/lordsawar/files/patch-src_gui_stack-army-button.cpp
@@ -0,0 +1,11 @@
+--- src/gui/stack-army-button.cpp.orig 2015-06-20 22:48:43 UTC
++++ src/gui/stack-army-button.cpp
+@@ -146,7 +146,7 @@ void StackArmyButton::fill_army_button()
+ {
+ bool greyed_out = false;
+ Stack *active_stack = p->getActivestack();
+- if (active_stack->getArmyById(d_army->getId()) == false)
++ if (!active_stack->getArmyById(d_army->getId()))
+ greyed_out = true;
+ army_image->property_pixbuf() =
+ gc->getCircledArmyPic(p->getArmyset(), d_army->getTypeId(),