Updated comment in new JS primedEquipment property declaration and adjusted a curly brace style while at it.
This commit is contained in:
parent
ea4c4a3a2a
commit
4fe0e39048
@ -7922,7 +7922,8 @@ NSComparisonResult marketSorterByMassUnit(id a, id b, void *market);
|
||||
{
|
||||
NSString *result = @"";
|
||||
NSUInteger c = [eqScripts count];
|
||||
if (primedEquipment != c) {
|
||||
if (primedEquipment != c)
|
||||
{
|
||||
result = [[eqScripts oo_arrayAtIndex:primedEquipment] oo_stringAtIndex:0];
|
||||
}
|
||||
return result;
|
||||
|
@ -138,7 +138,7 @@ enum
|
||||
kPlayerShip_missilesOnline, // bool (false for ident mode, true for missile mode)
|
||||
kPlayerShip_pitch, // pitch (overrules Ship)
|
||||
kPlayerShip_price, // idealised trade-in value decicredits, positive int, read-only
|
||||
kPlayerShip_primedEquipment, // currently primed equipment
|
||||
kPlayerShip_primedEquipment, // currently primed equipment, string, read/write
|
||||
kPlayerShip_renovationCost, // int read-only current renovation cost
|
||||
kPlayerShip_reticleColorTarget, // Reticle color for normal targets, array, read/write
|
||||
kPlayerShip_reticleColorTargetSensitive, // Reticle color for targets picked up when sensitive mode is on, array, read/write
|
||||
|
Loading…
x
Reference in New Issue
Block a user