- Fixed: weapon.ammogive2 always gave 2 amounts of ammo.

SVN r1249 (trunk)
This commit is contained in:
Christoph Oelckers 2008-09-27 07:57:41 +00:00
parent dd49574325
commit 07e74419d5
2 changed files with 2 additions and 1 deletions

View file

@ -1,4 +1,5 @@
September 27, 2008 (Changes by Graf Zahl)
- Fixed: weapon.ammogive2 always gave 2 amounts of ammo.
- Fixed: The translation string parser printed a broken error message.
September 24, 2008 (Changes by Graf Zahl)

View file

@ -1526,7 +1526,7 @@ DEFINE_CLASS_PROPERTY(ammogive1, I, Weapon)
DEFINE_CLASS_PROPERTY(ammogive2, I, Weapon)
{
PROP_INT_PARM(i, 0);
defaults->AmmoGive2 = 2;
defaults->AmmoGive2 = i;
}
//==========================================================================