Fix scattering - the splitting code doesn't look right - it will

leave avg 1/2 the object's quantity on the scatter point.
Return count of how many objects actually left the scatter point.
This commit is contained in:
warwick
2002-09-09 05:44:32 +00:00
parent 53f40d2a20
commit 00671608d6
2 changed files with 10 additions and 14 deletions

View File

@@ -582,7 +582,7 @@ E long FDECL(rndexp, (BOOLEAN_P));
/* ### explode.c ### */
E void FDECL(explode, (int,int,int,int,CHAR_P,int));
E void FDECL(scatter, (int, int, int, unsigned int, struct obj *));
E int FDECL(scatter, (int, int, int, unsigned int, struct obj *));
E void FDECL(splatter_burning_oil, (int, int));
/* ### extralev.c ### */