summaryrefslogtreecommitdiffstats
path: root/games/warmux/patches
diff options
context:
space:
mode:
author Matteo Bernardini2020-05-03 10:26:34 +0200
committer Matteo Bernardini2020-05-03 10:26:34 +0200
commit48259ed40770acaca280ee12a8434410f58aff30 (patch)
treef1ed654e2693aa523ece7d3bb3cadf0fe9089d66 /games/warmux/patches
parenta5a09aea950fef7569ac816b34a99b71830760d4 (diff)
downloadslackbuilds-7e8307e8198347fd94d48a537fd282da224df075.tar.gz
20200503.1 global branch merge.current-20200503.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/warmux/patches')
-rw-r--r--games/warmux/patches/return-null.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/warmux/patches/return-null.patch b/games/warmux/patches/return-null.patch
new file mode 100644
index 0000000000..851dfcbd16
--- /dev/null
+++ b/games/warmux/patches/return-null.patch
@@ -0,0 +1,11 @@
+--- src/interface/weapon_menu.cpp.orig 2016-05-09 15:22:36.895266463 +0200
++++ src/interface/weapon_menu.cpp 2016-05-09 15:21:38.518476191 +0200
+@@ -391,7 +391,7 @@
+ Weapon * WeaponsMenu::UpdateCurrentOverflyItem(const Polygon * poly)
+ {
+ if (!show)
+- return false;
++ return NULL;
+ const std::vector<PolygonItem *>& items = poly->GetItem();
+ WeaponMenuItem * tmp;
+ Interface::GetInstance()->SetCurrentOverflyWeapon(NULL);