This commit is contained in:
parent
599c18dc1c
commit
6f40dd42da
@ -60,7 +60,7 @@ void CNpcSquidDartEnemy::render()
|
|||||||
renderPos.vx -= 32;
|
renderPos.vx -= 32;
|
||||||
}
|
}
|
||||||
|
|
||||||
renderPos.vy -= 6;
|
//renderPos.vy -= 6;
|
||||||
// bodge
|
// bodge
|
||||||
|
|
||||||
int frame = FRM_SQUIDDART_SWIM0001 + ( m_frame >> 8 );
|
int frame = FRM_SQUIDDART_SWIM0001 + ( m_frame >> 8 );
|
||||||
@ -83,7 +83,8 @@ void CNpcSquidDartEnemy::render()
|
|||||||
|
|
||||||
setCollisionSize( ( XMax - XMin ), ( YMax - YMin ) );
|
setCollisionSize( ( XMax - XMin ), ( YMax - YMin ) );
|
||||||
// bodge
|
// bodge
|
||||||
setCollisionCentreOffset( 0, 0 ); //( XMax + XMin ) >> 1, ( YMax + YMin ) >> 1 );
|
//setCollisionCentreOffset( 0, 0 ); //( XMax + XMin ) >> 1, ( YMax + YMin ) >> 1 );
|
||||||
|
setCollisionCentreOffset( 0, ( YMax + YMin ) >> 1 ); //( XMax + XMin ) >> 1, ( YMax + YMin ) >> 1 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user