mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-29 04:23:44 +00:00
[lcs] corrections for CScrollBar (code style)
Changes were made to be compliant with the coding style: - All floats should be explicit by specifying "f" suffix so compiler doesn't use double as default - Changed the conditional order to be more clear about what the "if" chain trying to achieve Thanks Nick007J
This commit is contained in:
parent
ee9e8bf11e
commit
e0601296a9
1 changed files with 5 additions and 6 deletions
|
@ -746,13 +746,12 @@ void CScrollBar::Update()
|
|||
case 3:
|
||||
m_pMessage = "CONGESTION EASING . . . "; break;
|
||||
case 4:
|
||||
if (CWeather::Foggyness <= 0.5)
|
||||
if (CWeather::WetRoads <= 0.5)
|
||||
m_pMessage = "CAUTION: CARJACKING CRIME WAVE HITS CITY . . . HAVE A NICE DAY . . . ";
|
||||
else
|
||||
if (CWeather::Foggyness > 0.5f)
|
||||
m_pMessage = "VISIBILITY LOW ! ";
|
||||
else if (CWeather::WetRoads > 0.5f)
|
||||
m_pMessage = "SNOW EXPECTED ! ";
|
||||
else
|
||||
m_pMessage = "VISIBILITY LOW ! ";
|
||||
m_pMessage = "CAUTION: CARJACKING CRIME WAVE HITS CITY . . . HAVE A NICE DAY . . . ";
|
||||
break;
|
||||
case 5:
|
||||
m_pMessage = FindTunnelMessage(); break;
|
||||
|
|
Loading…
Reference in a new issue