From 1e0eb2bdb2bc3804412e71029b00b532559a2e61 Mon Sep 17 00:00:00 2001 From: Charles Date: Mon, 21 May 2001 15:30:48 +0000 Subject: [PATCH] --- source/enemy/nclam.cpp | 3 ++- source/platform/pclam.cpp | 9 +++++---- source/platform/pclam.h | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/source/enemy/nclam.cpp b/source/enemy/nclam.cpp index cabd79400..e563aef44 100644 --- a/source/enemy/nclam.cpp +++ b/source/enemy/nclam.cpp @@ -166,7 +166,8 @@ void CNpcStaticClamEnemy::postInit() platform->setGraphic( (u8) 0 ); platform->init( Pos ); platform->setTiltable( false ); - platform->setBBox(); + //platform->setBBox(); + platform->postInit(); } void CNpcStaticClamEnemy::processClose( int _frames ) diff --git a/source/platform/pclam.cpp b/source/platform/pclam.cpp index 3cbb2ebb1..ac1e9cd09 100644 --- a/source/platform/pclam.cpp +++ b/source/platform/pclam.cpp @@ -33,8 +33,9 @@ void CNpcClamPlatform::render() //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void CNpcClamPlatform::setBBox() +/*void CNpcClamPlatform::setBBox() { - setCollisionSize( 54, PLATFORMCOLLISIONHEIGHT); - setCollisionCentreOffset( 0, -30 ); -} \ No newline at end of file + //setCollisionSize( 54, PLATFORMCOLLISIONHEIGHT); + //setCollisionSize( 54, 10 ); + setCollisionCentreOffset( 50, -100 ); +}*/ \ No newline at end of file diff --git a/source/platform/pclam.h b/source/platform/pclam.h index bd00944f0..8cf27bb5b 100644 --- a/source/platform/pclam.h +++ b/source/platform/pclam.h @@ -22,7 +22,7 @@ class CNpcClamPlatform : public CNpcPlatform { public: virtual void render(); - void setBBox(); + //void setBBox(); }; #endif \ No newline at end of file