mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
deleted now redundant old code for marbles which is no longer executedby game due to said change
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9054 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -2484,28 +2484,6 @@ BOOLEAN HandleGotoNewGridNo( SOLDIERTYPE *pSoldier, BOOLEAN *pfKeepMoving, BOOLE
|
||||
if ( !fDontContinue )
|
||||
{
|
||||
|
||||
if ( (pSoldier->bOverTerrainType == FLAT_FLOOR || pSoldier->bOverTerrainType == PAVED_ROAD) && pSoldier->pathing.bLevel == 0 )
|
||||
{
|
||||
INT32 iMarblesIndex;
|
||||
|
||||
if ( MarblesExistAtLocation( pSoldier->sGridNo, 0, &iMarblesIndex ) )
|
||||
{
|
||||
// Slip on marbles!
|
||||
pSoldier->DoMercBattleSound( BATTLE_SOUND_CURSE1 );
|
||||
if ( pSoldier->bTeam == gbPlayerNum )
|
||||
{
|
||||
ScreenMsg( FONT_MCOLOR_LTYELLOW, MSG_UI_FEEDBACK, Message[ STR_SLIPPED_MARBLES ], pSoldier->name );
|
||||
}
|
||||
RemoveItemFromPool( pSoldier->sGridNo, iMarblesIndex, 0 );
|
||||
SoldierCollapse( pSoldier );
|
||||
if (pSoldier->bActionPoints > 0)
|
||||
{
|
||||
pSoldier->bActionPoints -= (INT8) (Random( pSoldier->bActionPoints ) + 1);
|
||||
}
|
||||
return( FALSE );
|
||||
}
|
||||
}
|
||||
|
||||
if ( (pSoldier->bBlindedCounter > 0) && (pSoldier->usAnimState == RUNNING) && (Random( 5 ) == 0) &&
|
||||
OKFallDirection( pSoldier, (pSoldier->sGridNo + DirectionInc( pSoldier->ubDirection ) ), pSoldier->pathing.bLevel, pSoldier->ubDirection, pSoldier->usAnimState ) )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user