From 3faad16c03f20673fdb9a42fa05cb53ce7322b06 Mon Sep 17 00:00:00 2001 From: Charles Date: Thu, 17 May 2001 15:47:43 +0000 Subject: [PATCH] --- source/enemy/nshell.cpp | 6 ++++++ source/enemy/nshell.h | 2 ++ 2 files changed, 8 insertions(+) diff --git a/source/enemy/nshell.cpp b/source/enemy/nshell.cpp index 6058ef385..826c73455 100644 --- a/source/enemy/nshell.cpp +++ b/source/enemy/nshell.cpp @@ -85,3 +85,9 @@ void CNpcShellEnemy::render() } } +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void CNpcShellEnemy::collidedWith( CThing *_thisThing ) +{ + // do nothing +} diff --git a/source/enemy/nshell.h b/source/enemy/nshell.h index bb7d7d133..7d51bce6e 100644 --- a/source/enemy/nshell.h +++ b/source/enemy/nshell.h @@ -25,7 +25,9 @@ public: virtual void render(); virtual int getFrameCount() {return( 1 );} virtual int getFrame() {return( m_shellType );} + virtual u8 hasBeenAttacked() {return( false );} protected: + virtual void collidedWith(CThing *_thisThing); u8 m_shellType; };