diff options
author | Arthur Zamarin | 2016-05-12 09:06:13 +0300 |
---|---|---|
committer | Arthur Zamarin | 2016-05-12 09:06:41 +0300 |
commit | bb434ffa6c95496624d083fd32df87b03e78e8a4 (patch) | |
tree | decd414cd0752e2fad85735ce15c56e57a2429d5 /return-null.patch | |
parent | a98215a5cd2c2cc30e52036a99903c010b892f0a (diff) | |
download | aur-bb434ffa6c95496624d083fd32df87b03e78e8a4.tar.gz |
Fix Compilation
big thanks to Martchus <martchus@gmx.net>
Diffstat (limited to 'return-null.patch')
-rw-r--r-- | return-null.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/return-null.patch b/return-null.patch new file mode 100644 index 000000000000..851dfcbd1685 --- /dev/null +++ b/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); |