When you have energy weapon and you hold blaster, buying ammo from Reactor or Repeater will trigger message that you have to use Armoury and buying ammo at Armoury doesn't work for energy weapons.
Created attachment 1042[details]
Annoyance fix
This patch makes decision whether to buy energy ammo or not on the main weapon instead of the weapon currently held. It uses G_FindNonBlasterWeapon() from Weaponswitch redundancy cleanup version 2 patch for bug 2825.
Created attachment 1153[details]
svn844 energy weapons
* allows buying energy ammo if any weapon in inventory uses energy
* also contains patch for 2827 because I'm lazy
Created attachment 1043 [details] Annoyance fix Ahhh, sorry for the mess, I forgot to remove a few lines that belong to another patch...
Created attachment 1153 [details] svn844 energy weapons * allows buying energy ammo if any weapon in inventory uses energy * also contains patch for 2827 because I'm lazy
Comment on attachment 1153 [details] svn844 energy weapons oops
Created attachment 1154 [details] svn844 energy weapons lets try that again