From f83b0938ea2f632517afa072c2038bf5be00eda4 Mon Sep 17 00:00:00 2001 From: Charles Date: Wed, 16 May 2001 14:06:59 +0000 Subject: [PATCH] --- source/enemy/nmjfish.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/enemy/nmjfish.cpp b/source/enemy/nmjfish.cpp index 1582f7b14..3a26990cc 100644 --- a/source/enemy/nmjfish.cpp +++ b/source/enemy/nmjfish.cpp @@ -78,6 +78,8 @@ void CNpcMotherJellyfishEnemy::setupWaypoints( sThingActor *ThisActor ) setStartPos( newXPos, newYPos ); addWaypoint( newXPos, newYPos ); + startX = newXPos << 4; + if ( ThisActor->PointCount > 1 ) { for (int pointNum = 1 ; pointNum < ThisActor->PointCount ; pointNum++ ) @@ -104,6 +106,7 @@ void CNpcMotherJellyfishEnemy::setupWaypoints( sThingActor *ThisActor ) { m_cycleWidth = abs( startX - ( newXPos << 4 ) ); m_halfCycleWidth = m_cycleWidth >> 1; + m_base.vx += m_halfCycleWidth; } } }