# HG changeset patch # User glx # Date 1200588062 0 # Node ID 38acac2cd7c860089ecc25f2ec8560fab848a5ae # Parent 82c93ca82fdbe573598fdcb82cbb28424e4adcb9 (svn r11895) -Fix (r11875): for once MSVC warns for a good reason diff -r 82c93ca82fdb -r 38acac2cd7c8 src/aircraft_cmd.cpp --- a/src/aircraft_cmd.cpp Thu Jan 17 14:06:49 2008 +0000 +++ b/src/aircraft_cmd.cpp Thu Jan 17 16:41:02 2008 +0000 @@ -1565,7 +1565,7 @@ /* There is no autoreplace assigned to this EngineID so we will set it to renew to the same type if needed */ new_engine = v->engine_type; - if((p->engine_renew && v->age - v->max_age) < p->engine_renew_months * 30) { + if(p->engine_renew && (v->age - v->max_age) < p->engine_renew_months * 30) { /* No need to replace the aircraft */ return false; }