diff options
author | Laël Guillemenot | 2018-01-31 22:17:49 +0100 |
---|---|---|
committer | Laël Guillemenot | 2018-01-31 22:17:49 +0100 |
commit | e0e8e0cadf682d5ded3e3e512f89498f3d70d481 (patch) | |
tree | 268862ce15c4960de9dc478e761f4e37b8ea529a /return-null.patch | |
download | aur-warmux-git.tar.gz |
Initialisation du projet
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); |