This commit is contained in:
parent
80ada6fdbb
commit
a569f65067
1 changed files with 2 additions and 0 deletions
|
@ -78,10 +78,12 @@ void CNpcPendulumHazard::setWaypoints( sThingHazard *ThisHazard )
|
|||
m_length = isqrt2( ( xDist * xDist ) + ( yDist * yDist ) );
|
||||
|
||||
Pos = pivotPos;
|
||||
m_base = pivotPos;
|
||||
}
|
||||
else
|
||||
{
|
||||
Pos = startPos;
|
||||
m_base = Pos;
|
||||
}
|
||||
|
||||
m_thinkArea.x1 = Pos.vx - m_length;
|
||||
|
|
Loading…
Add table
Reference in a new issue