From bab70a823dd810e1d4477f0c01d3a7b3e9b19ac8 Mon Sep 17 00:00:00 2001 From: alberth Date: Mon, 1 Jun 2009 11:43:36 +0000 Subject: (svn r16491) -Codechange: Added parentheses around bitwise operators for code style. --- src/engine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/engine.cpp') diff --git a/src/engine.cpp b/src/engine.cpp index 02c3fc8e4..5e873f5a1 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -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); } -- cgit v1.2.3-54-g00ecf