This commit is contained in:
parent
db91ce2d99
commit
b5592e1f51
1 changed files with 2 additions and 2 deletions
|
@ -139,7 +139,7 @@ void CNpcBalloonBridgePlatform::setWaypoints( sThingPlatform *ThisPlatform )
|
||||||
|
|
||||||
DVECTOR startPos;
|
DVECTOR startPos;
|
||||||
startPos.vx = ( newXPos << 4 ) + 8;
|
startPos.vx = ( newXPos << 4 ) + 8;
|
||||||
startPos.vy = ( newYPos << 4 ) + 16;
|
startPos.vy = ( newYPos << 4 ) + 8;
|
||||||
|
|
||||||
init( startPos );
|
init( startPos );
|
||||||
|
|
||||||
|
@ -152,7 +152,7 @@ void CNpcBalloonBridgePlatform::setWaypoints( sThingPlatform *ThisPlatform )
|
||||||
newYPos = (u16) *PntList;
|
newYPos = (u16) *PntList;
|
||||||
PntList++;
|
PntList++;
|
||||||
|
|
||||||
m_maxExtension = abs( ( ( newYPos << 4 ) + 16 ) - startPos.vy );
|
m_maxExtension = abs( ( ( newYPos << 4 ) + 8 ) - startPos.vy );
|
||||||
|
|
||||||
s32 minX, maxX, minY, maxY;
|
s32 minX, maxX, minY, maxY;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue