From 4c971f78b57ed53a9c370469a564095a0ba4caf2 Mon Sep 17 00:00:00 2001 From: Charles Date: Tue, 10 Jul 2001 20:05:37 +0000 Subject: [PATCH] --- source/hazard/hfalling.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/hazard/hfalling.cpp b/source/hazard/hfalling.cpp index 914939736..1f23c537d 100644 --- a/source/hazard/hfalling.cpp +++ b/source/hazard/hfalling.cpp @@ -272,6 +272,9 @@ void CNpcFallingHazard::render() { DVECTOR &renderPos=getRenderPos(); + sBBox boundingBox = m_modelGfx->GetBBox(); + renderPos.vy -= boundingBox.YMax - boundingBox.YMin; + SVECTOR rotation; rotation.vx = 0; rotation.vy = 0;