Probably fixes
issue #891 although the overall playability of the campaign, who knows, since invalid name was used in the add too
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert01.lua Wed Dec 24 11:16:57 2014 -0500
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert01.lua Wed Dec 24 11:41:53 2014 -0500
@@ -526,7 +526,7 @@
-- bazooka - grenade - rope - parachute - deagle - btorch - construct - portal - rcplane
SaveCampaignVar("HeroAmmo", GetAmmoCount(hero.gear, amBazooka)..GetAmmoCount(hero.gear, amGrenade)..
GetAmmoCount(hero.gear, amRope)..GetAmmoCount(hero.gear, amParachute)..GetAmmoCount(hero.gear, amDEagle)..
- GetAmmoCount(hero.gear, amBlowTorch)..GetAmmoCount(hero.gear, amConstruction)..
+ GetAmmoCount(hero.gear, amBlowTorch)..GetAmmoCount(hero.gear, amGirder)..
GetAmmoCount(hero.gear, amPortalGun)..GetAmmoCount(hero.gear, amRCPlane))
AnimCaption(hero.gear, loc("Checkpoint reached!"), 5000)
end
@@ -542,7 +542,7 @@
AddAmmo(hero.gear, amBlowTorch, tonumber(ammo:sub(6,6)))
-- weird, if 0 bazooka isn't displayed in the weapons menu
if tonumber(ammo:sub(7,7)) > 0 then
- AddAmmo(hero.gear, amConstruction, tonumber(ammo:sub(7,7)))
+ AddAmmo(hero.gear, amGirder, tonumber(ammo:sub(7,7)))
end
AddAmmo(hero.gear, amPortalGun, tonumber(ammo:sub(8,8)))
AddAmmo(hero.gear, amRCPlane, tonumber(ammo:sub(9,9)))