Fix: throwing knives disappear when hitting corpses

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8596 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2018-08-18 14:12:54 +00:00
parent 2e86f6c0ef
commit 79c41c3dbe
+4 -4
View File
@@ -7199,10 +7199,10 @@ void MoveBullet( INT32 iBullet )
CorpseHit( pBullet->sGridNo, level, pStructure->usStructureID );
DebugMsg( TOPIC_JA2, DBG_LEVEL_3, String("@@@@@@@ Reducing attacker busy count..., CORPSE HIT") );
// Moved here to keep ABC >0 as long as possible
RemoveBullet( iBullet );
// ReduceAttackBusyCount( );
// Flugente: we need to call BulletHitStructure, otherwise knives vanish
StopBullet( pBullet->iBullet );
BulletHitStructure( pBullet, pStructure->usStructureID, 1, pBullet->qCurrX, pBullet->qCurrY, pBullet->qCurrZ, TRUE );
return;
}
else if ( iRemainingImpact <= 0 )