This commit is contained in:
parent
fa290ce417
commit
e7b5771ac8
1 changed files with 1 additions and 1 deletions
|
@ -758,7 +758,7 @@ void CNpcSubSharkEnemy::render()
|
||||||
DVECTOR &renderPos=getRenderPos();
|
DVECTOR &renderPos=getRenderPos();
|
||||||
|
|
||||||
SprFrame = m_actorGfx->Render(renderPos,m_animNo,( m_frame >> 8 ),m_reversed);
|
SprFrame = m_actorGfx->Render(renderPos,m_animNo,( m_frame >> 8 ),m_reversed);
|
||||||
m_actorGfx->RotateScale( SprFrame, renderPos, 0, 4096, 4096 );
|
m_actorGfx->RotateScale( SprFrame, renderPos, 0, 4096, 4096, true );
|
||||||
|
|
||||||
sBBox boundingBox = m_actorGfx->GetBBox();
|
sBBox boundingBox = m_actorGfx->GetBBox();
|
||||||
setCollisionSize( ( boundingBox.XMax - boundingBox.XMin ), ( boundingBox.YMax - boundingBox.YMin ) );
|
setCollisionSize( ( boundingBox.XMax - boundingBox.XMin ), ( boundingBox.YMax - boundingBox.YMin ) );
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue