mirror of
https://github.com/1dot13/source.git
synced 2026-08-26 14:30:26 +02:00
- New Feature: enemy assassins disguise as militia and can ambush player mercs
- Fix: invalid GridNo for mounting weapons git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5753 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -953,6 +953,23 @@ void StartCivQuote( SOLDIERTYPE *pCiv )
|
||||
|
||||
}
|
||||
|
||||
// Flugente: if we are an assassin, we speak like the militia we emulate
|
||||
if ( pCiv->bSoldierFlagMask & SOLDIER_ASSASSIN )
|
||||
{
|
||||
switch ( pCiv->GetUniformType() )
|
||||
{
|
||||
case UNIFORM_MILITIA_REGULAR:
|
||||
ubCivQuoteID = CIV_QUOTE_MEDIUM_MILITIA;
|
||||
break;
|
||||
case UNIFORM_MILITIA_ELITE:
|
||||
ubCivQuoteID = CIV_QUOTE_ELITE_MILITIA;
|
||||
break;
|
||||
default:
|
||||
ubCivQuoteID = CIV_QUOTE_GREEN_MILITIA;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// Determine location...
|
||||
// Get location of civ on screen.....
|
||||
GetSoldierScreenPos( pCiv, &sScreenX, &sScreenY );
|
||||
|
||||
Reference in New Issue
Block a user