This commit is contained in:
Charles 2001-07-10 20:05:37 +00:00
parent 564d091662
commit 4c971f78b5

View file

@ -272,6 +272,9 @@ void CNpcFallingHazard::render()
{ {
DVECTOR &renderPos=getRenderPos(); DVECTOR &renderPos=getRenderPos();
sBBox boundingBox = m_modelGfx->GetBBox();
renderPos.vy -= boundingBox.YMax - boundingBox.YMin;
SVECTOR rotation; SVECTOR rotation;
rotation.vx = 0; rotation.vx = 0;
rotation.vy = 0; rotation.vy = 0;