1
0

Small changes; warning fixing.

This commit is contained in:
archshift
2014-04-24 20:25:03 -07:00
parent 0f7bd9fc77
commit 62e5234535
6 changed files with 12 additions and 14 deletions

View File

@@ -316,12 +316,9 @@ int cWorld::GetDefaultWeatherInterval(eWeather a_Weather)
{
return 2400 + (m_TickRand.randInt() % 4800); // 2 - 6 minutes
}
default:
{
LOGWARNING("%s: Missing default weather interval for weather %d.", __FUNCTION__, a_Weather);
return -1;
}
} // switch (Weather)
}
LOGWARNING("%s: Missing default weather interval for weather %d.", __FUNCTION__, a_Weather);
return -1;
}