mirror of
https://github.com/1dot13/source.git
synced 2026-09-02 14:36:06 +02:00
Convert DisplayCharStats() to SoldierID
Moved two repeated print calls to their own functions Removed compiler warning about exceeding stack size
This commit is contained in:
@@ -319,7 +319,7 @@ INT8 GetDrunkLevel( SOLDIERTYPE *pSoldier )
|
||||
}
|
||||
|
||||
// does a merc have a disability/personality, or is he under drugs that simulate this?
|
||||
BOOLEAN DoesMercHaveDisability( SOLDIERTYPE *pSoldier, UINT8 aVal )
|
||||
BOOLEAN DoesMercHaveDisability( const SOLDIERTYPE *pSoldier, UINT8 aVal )
|
||||
{
|
||||
if ( pSoldier->ubProfile != NO_PROFILE )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user