mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
Added Speck as a playable merc (by anv)
o Speck can be hired by M.E.R.C o From now on, as long as Speck is hired (or dead, or POW, or travelling), he won't be sitting on Speck Com nor sending you emails. However, is he's able to, he'll comment on current situation from battlefield: player owing money, Flo getting married, MERC merc dying, etc., so keeping him alive might be a good idea o GameDir data revision >= 1701 git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6215 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -17,6 +17,9 @@
|
||||
#include "Game Clock.h"
|
||||
#endif
|
||||
|
||||
// anv: for playable Speck
|
||||
#include "mercs.h"
|
||||
|
||||
StrategicMapElement StrategicMap[MAP_WORLD_X*MAP_WORLD_Y];
|
||||
|
||||
extern BOOLEAN fReDrawFace;
|
||||
@@ -123,6 +126,10 @@ void HandleSoldierDeadComments( SOLDIERTYPE *pSoldier )
|
||||
break;
|
||||
}
|
||||
}
|
||||
// anv: handle Speck witnessing his employee death
|
||||
if( pTeamSoldier->ubProfile == SPECK_PLAYABLE && pSoldier->ubWhatKindOfMercAmI == MERC_TYPE__MERC )
|
||||
HandleSpeckWitnessingEmployeeDeath( pSoldier );
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user