(svn r16332) -Codechange: replace some -1 + 1 with 'nothing' or <= .. - 1 with < .. - 1 (both caused due to wrapper functions)
This commit is contained in:
@@ -184,10 +184,9 @@ static const Month _autosave_months[] = {
|
||||
*/
|
||||
static void RunVehicleDayProc(uint daytick)
|
||||
{
|
||||
uint total = GetMaxVehicleIndex() + 1;
|
||||
uint i;
|
||||
uint total = Vehicle::GetPoolSize();
|
||||
|
||||
for (i = daytick; i < total; i += DAY_TICKS) {
|
||||
for (uint i = daytick; i < total; i += DAY_TICKS) {
|
||||
Vehicle *v = Vehicle::Get(i);
|
||||
|
||||
if (v->IsValid()) {
|
||||
|
Reference in New Issue
Block a user