Fix for custom_chart_mission defaulting to correct background
This commit is contained in:
parent
c608fdb856
commit
c3406ef600
@ -33,7 +33,8 @@
|
||||
long_range_chart8 = "long-range-chart8.png"; // if not defined, same as long_range_chart
|
||||
|
||||
short_range_chart_mission = "short-range-chart-mission.png"; // if not defined, same as short_range_chart
|
||||
long_range_chart_mission = "long-range-chart-mission.png"; // if not defined, same as long_range_chart
|
||||
custom_chart_mission = "custom-chart-mission.png"; // if not defined, same as short_range_chart_mission and then short_range_chart
|
||||
long_range_chart_mission = "long-range-chart-mission.png"; // if not defined, same as long_range_chart
|
||||
long_range_chart1_mission = "long-range-chart-mission.png"; // if not defined, same as long_range_chart_mission and then long_range_chart1
|
||||
long_range_chart2_mission = "long-range-chart-mission.png"; // if not defined, same as long_range_chart_mission and then long_range_chart2
|
||||
long_range_chart3_mission = "long-range-chart-mission.png"; // if not defined, same as long_range_chart_mission and then long_range_chart3
|
||||
|
@ -1045,7 +1045,11 @@ static OOTextureSprite *NewTextureSpriteWithDescriptor(NSDictionary *descriptor)
|
||||
bgDescriptor = [UNIVERSE screenTextureDescriptorForKey:@"custom_chart_mission"];
|
||||
if (bgDescriptor == nil)
|
||||
{
|
||||
bgDescriptor = [UNIVERSE screenTextureDescriptorForKey:@"short_range_chart"];
|
||||
bgDescriptor = [UNIVERSE screenTextureDescriptorForKey:@"short_range_chart_mission"];
|
||||
if (bgDescriptor == nil)
|
||||
{
|
||||
bgDescriptor = [UNIVERSE screenTextureDescriptorForKey:@"short_range_chart"];
|
||||
}
|
||||
}
|
||||
break;
|
||||
case GUI_BACKGROUND_SPECIAL_SHORT:
|
||||
|
Loading…
x
Reference in New Issue
Block a user