This commit is contained in:
Charles 2001-07-12 16:08:51 +00:00
parent a6c3965615
commit 12e2de0799
2 changed files with 49 additions and 0 deletions

View file

@ -59,6 +59,15 @@ CThing *Parent=getParent();
{
int HDiff=TargetHeight-Height;
Height+=(HDiff+(GeyserSpeed-1))/GeyserSpeed;
if ( Height > 10 )
{
Flags |= FX_FLAG_INJURE_PLAYER;
}
else
{
Flags &= ~FX_FLAG_INJURE_PLAYER;
}
}
// top