Fixed bug in MapHasNaturalLight for ocean routes.
This commit is contained in:
parent
e11d050423
commit
3bd46b5b7a
1 changed files with 2 additions and 1 deletions
|
@ -1481,7 +1481,8 @@ u8 UpdateTimeOfDay(void) {
|
|||
}
|
||||
|
||||
static bool8 MapHasNaturalLight(u8 mapType) { // Weather a map type is naturally lit/outside
|
||||
return mapType == MAP_TYPE_TOWN || mapType == MAP_TYPE_CITY || mapType == MAP_TYPE_ROUTE;
|
||||
return mapType == MAP_TYPE_TOWN || mapType == MAP_TYPE_CITY || mapType == MAP_TYPE_ROUTE
|
||||
|| mapType == MAP_TYPE_OCEAN_ROUTE;
|
||||
}
|
||||
|
||||
static bool8 FadePalettesWithTime(void) {
|
||||
|
|
Loading…
Reference in a new issue