diff --git a/source/fx/fxjfish.h b/source/fx/fxjfish.h index e2e8870ad..f87153849 100644 --- a/source/fx/fxjfish.h +++ b/source/fx/fxjfish.h @@ -22,6 +22,8 @@ virtual void think(int _frames); virtual void render(); void SetUp(int _Width,int _Gap,int _Length,int _Count); +virtual CRECT const &getCollisionArea() {return (Parent->getCollisionArea());} + protected: int XOfs; diff --git a/source/thing/thing.cpp b/source/thing/thing.cpp index bf993a45c..6e8deb0b7 100644 --- a/source/thing/thing.cpp +++ b/source/thing/thing.cpp @@ -211,14 +211,14 @@ DVECTOR const &CamPos=CLevel::getCameraPos(); if (Flag) { thing->think(_frames); - thing->updateCollisionArea(); +// thing->updateCollisionArea(); if (thing->canCollide()) { CThingManager::addToCollisionList(thing); } } /* THIS WILL NOT STAY HERE, THINGS MUST BE INITIALISED CORRECTLY */ -// thing->updateCollisionArea(); + thing->updateCollisionArea(); thing=thing->m_nextListThing; } @@ -379,7 +379,7 @@ DVECTOR const &CamPos=CLevel::getCameraPos(); // Shut emm down, sh sh shut em down, we shutem down for(i=0;i