Updated comment in new JS primedEquipment property declaration and adjusted a curly brace style while at it.

This commit is contained in:
AnotherCommander 2017-09-12 21:45:56 +02:00
parent ea4c4a3a2a
commit 4fe0e39048
2 changed files with 3 additions and 2 deletions

View File

@ -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;

View File

@ -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