From 7aae7cb40e2bfa767fe1fc807f48bfe98dafeccd Mon Sep 17 00:00:00 2001 From: Charles Date: Mon, 23 Apr 2001 13:07:58 +0000 Subject: [PATCH] --- source/enemy/nsjfish.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/enemy/nsjfish.cpp b/source/enemy/nsjfish.cpp index 5aa8677ea..0386d099b 100644 --- a/source/enemy/nsjfish.cpp +++ b/source/enemy/nsjfish.cpp @@ -236,13 +236,13 @@ void CNpcSmallJellyfishEnemy::processMovementModifier( int _frames, s32 distX, s s16 headingVal; //u16 jellyfishData[5] = { 96, 192, 256, 192, 128, }; - u16 jellyfishData[6] = { 256, 192, 96, 48, 96, 128, }; + u16 jellyfishData[6] = { 256, 256, 96, 48, 96, 256, }; u32 dataPoint; m_movementTimer += _frames; - if ( m_movementTimer > GameState::getOneSecondInFrames() ) + if ( m_movementTimer > ( GameState::getOneSecondInFrames() >> 1 ) ) { m_movementTimer = 0; } @@ -251,7 +251,7 @@ void CNpcSmallJellyfishEnemy::processMovementModifier( int _frames, s32 distX, s if ( dataPoint != 0 ) { - dataPoint /= GameState::getOneSecondInFrames(); + dataPoint /= ( GameState::getOneSecondInFrames() >> 1 ); } m_frame = ( ( m_movementTimer * ( getFrameCount() - 1 ) << 8 ) ) / GameState::getOneSecondInFrames();