Fix water splashing particles

console-destruction
Sven Eberhardt 2016-08-30 18:56:46 -04:00
parent 6ac3bde3de
commit 30738c760e
1 changed files with 1 additions and 1 deletions

View File

@ -4763,7 +4763,7 @@ void C4Object::Splash()
if (GBackLiquid(tx,ty) && !GBackSemiSolid(tx, sy))
{
C4Real xdir = C4REAL100(Random(151)-75);
C4Real ydir = C4REAL100(-Random(200));
C4Real ydir = C4REAL100(-int32_t(Random(200)));
::PXS.Create(::Landscape.ExtractMaterial(tx,ty,false),
itofix(tx),itofix(sy),
xdir,