This commit is contained in:
parent
da5516aaed
commit
1176db9ce2
3 changed files with 19 additions and 5 deletions
|
@ -640,7 +640,7 @@ void CPlayerProjectile::think(int _frames)
|
|||
|
||||
s16 moveY = ( m_vertVelocity >> 8 ) * _frames;
|
||||
|
||||
s32 groundHeight = CGameScene::getCollision()->getHeightFromGround( Pos.vx, Pos.vy, moveY );
|
||||
s32 groundHeight = CGameScene::getCollision()->getHeightFromGroundAmmo( Pos.vx, Pos.vy, moveY );
|
||||
|
||||
if ( groundHeight < moveY )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue