mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
use FormatMoney everywhere
This commit is contained in:
committed by
majcosta
parent
0dd32c4670
commit
3d29eff4d8
@@ -6261,11 +6261,7 @@ BOOLEAN NotifyPlayerWhenEnemyTakesControlOfImportantSector( INT16 sSectorX, INT1
|
||||
iValue = GetProjectedTotalDailyIncome( );
|
||||
|
||||
// parse the string
|
||||
swprintf( sStringC, L"%d", iValue );
|
||||
|
||||
// insert
|
||||
InsertCommasForDollarFigure( sStringC );
|
||||
InsertDollarSignInToString( sStringC );
|
||||
swprintf( sStringC, L"%s", FormatMoney(iValue).data());
|
||||
|
||||
swprintf( sStringB, pMapErrorString[ 16 ], sString, sStringC );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user