- Fixed: Dropitem gave incorrect amounts to the item if a probability was set.

SVN r1250 (trunk)
This commit is contained in:
Christoph Oelckers 2008-09-28 07:23:15 +00:00
parent 07e74419d5
commit 52ad2800d1
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
September 28, 2008 (Changes by Graf Zahl)
- Fixed: Dropitem gave incorrect amounts to the item if a probability was set.
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.

View File

@ -824,7 +824,7 @@ DEFINE_PROPERTY(dropitem, S_i_i, Actor)
di->probability = prob;
if (PROP_PARM_COUNT > 2)
{
PROP_INT_PARM(amt, 1);
PROP_INT_PARM(amt, 2);
di->amount = amt;
}
}