mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +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 );
|
CorpseHit( pBullet->sGridNo, level, pStructure->usStructureID );
|
||||||
DebugMsg( TOPIC_JA2, DBG_LEVEL_3, String("@@@@@@@ Reducing attacker busy count..., CORPSE HIT") );
|
DebugMsg( TOPIC_JA2, DBG_LEVEL_3, String("@@@@@@@ Reducing attacker busy count..., CORPSE HIT") );
|
||||||
|
|
||||||
// Moved here to keep ABC >0 as long as possible
|
// Flugente: we need to call BulletHitStructure, otherwise knives vanish
|
||||||
RemoveBullet( iBullet );
|
StopBullet( pBullet->iBullet );
|
||||||
// ReduceAttackBusyCount( );
|
BulletHitStructure( pBullet, pStructure->usStructureID, 1, pBullet->qCurrX, pBullet->qCurrY, pBullet->qCurrZ, TRUE );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else if ( iRemainingImpact <= 0 )
|
else if ( iRemainingImpact <= 0 )
|
||||||
|
|||||||
Reference in New Issue
Block a user