This commit is contained in:
Charles 2001-06-12 13:45:45 +00:00
parent b209ab73c8
commit 53f0008276
4 changed files with 71 additions and 4 deletions

View file

@ -18,10 +18,11 @@
void CNpcLoveBoatPlatform::postInit()
{
CNpcRaftPlatform::postInit();
CNpcCartPlatform::postInit();
sBBox boundingBox = m_modelGfx->GetBBox();
boundingBox.YMin += 32;
setCollisionSize( ( boundingBox.XMax - boundingBox.XMin ), ( boundingBox.YMax - boundingBox.YMin ) );
setCollisionCentreOffset( ( boundingBox.XMax + boundingBox.XMin ) >> 1, ( boundingBox.YMax + boundingBox.YMin ) >> 1 );
calculateNonRotatedCollisionData();
}