diff --git a/docs/rh-log.txt b/docs/rh-log.txt index c6914a705..1fb977776 100644 --- a/docs/rh-log.txt +++ b/docs/rh-log.txt @@ -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. diff --git a/src/thingdef/thingdef_properties.cpp b/src/thingdef/thingdef_properties.cpp index ace5c856a..6df7a067a 100644 --- a/src/thingdef/thingdef_properties.cpp +++ b/src/thingdef/thingdef_properties.cpp @@ -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; } }