mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
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:
+4
-4
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user