This commit is contained in:
Paul 2001-05-10 19:22:34 +00:00
parent 3e2a380aa2
commit 3db41dcb68
7 changed files with 12 additions and 14 deletions

View file

@ -36,7 +36,7 @@ void CNpcRaftPlatform::postInit()
m_isSinking = false;
sBBox boundingBox = m_modelGfx->GetBBox();
setCollisionSize( ( boundingBox.XMax - boundingBox.XMin ), 50 + ( boundingBox.YMax - boundingBox.YMin ) );
setCollisionSize( ( boundingBox.XMax - boundingBox.XMin ), PLATFORMCOLLISIONHEIGHT + ( boundingBox.YMax - boundingBox.YMin ) );
setCollisionCentreOffset( ( boundingBox.XMax + boundingBox.XMin ) >> 1, ( ( boundingBox.YMax + boundingBox.YMin ) >> 1 ) - 16 );
}