mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 13:11:33 +00:00
- Fixed: Dropitem gave incorrect amounts to the item if a probability was set.
SVN r1250 (trunk)
This commit is contained in:
parent
07e74419d5
commit
52ad2800d1
2 changed files with 4 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue