Changes shape of icon on basic compass when station is target (#356)
Makes it clearer what is being targeted. Code contributed by forum member Milo.
This commit is contained in:
parent
2d1bcb200f
commit
2b669d06e6
BIN
Doc/OoliteRS.odt
BIN
Doc/OoliteRS.odt
Binary file not shown.
BIN
Doc/OoliteRS.pdf
BIN
Doc/OoliteRS.pdf
Binary file not shown.
@ -1635,7 +1635,10 @@ static void prefetchData(NSDictionary *info, struct CachedInfo *data)
|
||||
break;
|
||||
|
||||
case COMPASS_MODE_BASIC:
|
||||
[self drawCompassPlanetBlipAt:relativePosition Size:siz Alpha:alpha];
|
||||
if ([reference isStation]) // validateCompassTarget in PlayerEntity.m changes COMPASS_BASIC_MODE target to the main station when inside the planetary aegis or in docking range of the main station
|
||||
[self drawCompassStationBlipAt:relativePosition Size:siz Alpha:alpha];
|
||||
else
|
||||
[self drawCompassPlanetBlipAt:relativePosition Size:siz Alpha:alpha];
|
||||
break;
|
||||
|
||||
case COMPASS_MODE_PLANET:
|
||||
|
Loading…
x
Reference in New Issue
Block a user