diff options
author | Matteo Bernardini | 2019-09-29 22:53:29 +0200 |
---|---|---|
committer | Matteo Bernardini | 2019-09-29 22:53:29 +0200 |
commit | 541b09f59ece19c0cf778fe874a14c4157047687 (patch) | |
tree | 9d215ca644b52a9baf6d8059c40bfb45ad917a46 /games/warmux/patches/return-null.patch | |
parent | c0f188f9eeaa6fdd82fca476004d37ab24d0757e (diff) | |
download | slackbuilds-current-20190929.1.tar.gz |
20190929.1 global branch merge.current-20190929.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/warmux/patches/return-null.patch')
-rw-r--r-- | games/warmux/patches/return-null.patch | 11 |
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); |