Fix quick grenades sliding on water (maybe?).

This commit is contained in:
Mari the Deer 2022-09-24 14:56:17 +02:00
commit c93ace52b1
2 changed files with 3 additions and 2 deletions

View file

@ -295,6 +295,7 @@ Class SWWMGesture : SWWMWeapon
p.vel = dir*p.speed*1.5;
if ( FindInventory("RagekitPower") ) p.vel *= 4.;
p.ClearBounce();
p.bEXPLODEONWATER = true;
if ( p.waterlevel <= 0 ) p.vel.z += 5.;
p.vel += vel*.5;
}