mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
New merc (somewhat): Similar to Larry's two personalities, Buns now has an alternate personality as well.
For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=tree&th=23806&goto=354149&#msg_354149 Requires GameDir >= r2430. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8588 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -2367,22 +2367,13 @@ BOOLEAN MercIsInTropicalSector( SOLDIERTYPE * pSoldier )
|
||||
return( FALSE );
|
||||
}
|
||||
|
||||
SOLDIERTYPE * SwapLarrysProfiles( SOLDIERTYPE * pSoldier )
|
||||
SOLDIERTYPE* SwapToProfile( SOLDIERTYPE * pSoldier, UINT8 ubDestProfile )
|
||||
{
|
||||
UINT8 ubSrcProfile;
|
||||
UINT8 ubDestProfile;
|
||||
MERCPROFILESTRUCT * pNewProfile;
|
||||
MERCPROFILESTRUCT* pNewProfile;
|
||||
UINT8 ubSrcProfile = pSoldier->ubProfile;
|
||||
|
||||
ubSrcProfile = pSoldier->ubProfile;
|
||||
if ( ubSrcProfile == LARRY_NORMAL )
|
||||
{
|
||||
ubDestProfile = LARRY_DRUNK;
|
||||
}
|
||||
else if ( ubSrcProfile == LARRY_DRUNK )
|
||||
{
|
||||
ubDestProfile = LARRY_NORMAL;
|
||||
}
|
||||
else
|
||||
// need a stop criteria...
|
||||
if ( FALSE )
|
||||
{
|
||||
// I don't think so!
|
||||
return( pSoldier );
|
||||
|
||||
Reference in New Issue
Block a user