This commit is contained in:
parent
564d091662
commit
4c971f78b5
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue