This commit is contained in:
parent
a6c3965615
commit
12e2de0799
2 changed files with 49 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue