mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-19 02:12:37 +01:00
(svn r16491) -Codechange: Added parentheses around bitwise operators for code style.
This commit is contained in:
@@ -692,7 +692,7 @@ void EnginesMonthlyLoop()
|
||||
Engine *e;
|
||||
FOR_ALL_ENGINES(e) {
|
||||
/* Age the vehicle */
|
||||
if (e->flags & ENGINE_AVAILABLE && e->age != 0xFFFF) {
|
||||
if ((e->flags & ENGINE_AVAILABLE) && e->age != 0xFFFF) {
|
||||
e->age++;
|
||||
CalcEngineReliability(e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user