From 860a752411ac8ab1f961cac870d6e766f54ccb76 Mon Sep 17 00:00:00 2001 From: Charles Date: Thu, 7 Jun 2001 14:39:53 +0000 Subject: [PATCH] --- Graphics/characters/clam/AnimList.txt | 1 + source/enemy/nclam.cpp | 4 ++-- source/enemy/npcdata.cpp | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Graphics/characters/clam/AnimList.txt b/Graphics/characters/clam/AnimList.txt index 80728b559..e3507924f 100644 --- a/Graphics/characters/clam/AnimList.txt +++ b/Graphics/characters/clam/AnimList.txt @@ -1,5 +1,6 @@ # Comment sidesnap +snapup diff --git a/source/enemy/nclam.cpp b/source/enemy/nclam.cpp index c5790b7d0..15f4f47f1 100644 --- a/source/enemy/nclam.cpp +++ b/source/enemy/nclam.cpp @@ -93,7 +93,7 @@ void CNpcJumpingClamEnemy::postInit() { CNpcClamEnemy::postInit(); - m_drawRotation = m_heading + 1024; + m_drawRotation = ( m_heading + 1024 ) & 4095; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// @@ -161,7 +161,7 @@ void CNpcJumpingClamEnemy::processClose( int _frames ) if ( !m_animPlaying ) { m_animPlaying = true; - m_animNo = 0;//ANIM_CLAM_SNAPUP; + m_animNo = ANIM_CLAM_SNAPUP; m_frame = 0; } } diff --git a/source/enemy/npcdata.cpp b/source/enemy/npcdata.cpp index f792566da..4cf5a2410 100644 --- a/source/enemy/npcdata.cpp +++ b/source/enemy/npcdata.cpp @@ -297,7 +297,7 @@ CNpcEnemy::NPC_DATA CNpcEnemy::m_data[NPC_UNIT_TYPE_MAX] = { // NPC_CLAM_JUMP ACTORS_CLAM_SBK, - 0,//ANIM_CLAM_SNAPUP, + ANIM_CLAM_SNAPUP, NPC_SENSOR_USER_CLOSE, NPC_MOVEMENT_STATIC, NPC_CLOSE_NONE,