From d73a635fdd886256a3f76a1f2d5593f44edd02d5 Mon Sep 17 00:00:00 2001 From: Charles Date: Thu, 5 Jul 2001 22:52:06 +0000 Subject: [PATCH] --- source/enemy/nssnake.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/enemy/nssnake.cpp b/source/enemy/nssnake.cpp index 8852d8b9c..58e4a1693 100644 --- a/source/enemy/nssnake.cpp +++ b/source/enemy/nssnake.cpp @@ -133,16 +133,16 @@ void CNpcSeaSnakeEnemy::postInit() if ( segCount < initLength ) { - u16 sum = ONE; - u16 start = ONE >> 1; + u16 sum = ONE << 1; + u16 start = ONE; u16 end = sum - start; segScale = start + ( ( end * segCount ) / initLength ); } else { - u16 sum = ONE; - u16 start = ONE >> 3; + u16 sum = ONE << 1; + u16 start = ONE >> 1; u16 end = sum - start; segScale = start + ( ( end * ( NPC_SEA_SNAKE_LENGTH - segCount ) ) / remLength );