This commit is contained in:
parent
100e11e98b
commit
1e03a74618
7 changed files with 76 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue