This commit is contained in:
Charles 2001-06-14 21:27:25 +00:00
parent 100e11e98b
commit 1e03a74618
7 changed files with 76 additions and 2 deletions

View file

@ -68,6 +68,16 @@ void CNpcFireballHazard::setWaypoints( sThingHazard *ThisHazard )
m_width = maxX - minX;
m_npcPath.getPathYExtents( &minY, &maxY );
m_height = maxY - minY;
if ( ThisHazard->PointCount > 1 )
{
newXPos = (u16) *PntList;
if ( ( ( newXPos << 4 ) + 8 ) < startPos.vx )
{
m_width = -m_width;
}
}
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////