Menu

#14 Quad HeatSink Check.

minor_glitch
closed-fixed
5
2002-02-06
2002-02-01
No

Found in mech.utils.c
Function : FindLegHeatSinks

if (MechIsQuad(mech)) {
if (GetPartType(mech, LARM, loop) ==
I2Special((HEAT_SINK)) &&
!PartIsNonfunctional(mech, LLEG, loop))
heatsinks++;
if (GetPartType(mech, RARM, loop) ==
I2Special((HEAT_SINK)) &&
!PartIsNonfunctional(mech, RLEG, loop))
heatsinks++;
}

Shouldn't that read ?

if (MechIsQuad(mech)) {
if (GetPartType(mech, LARM, loop) ==
I2Special((HEAT_SINK)) &&
!PartIsNonfunctional(mech, LARM, loop))
heatsinks++;
if (GetPartType(mech, RARM, loop) ==
I2Special((HEAT_SINK)) &&
!PartIsNonfunctional(mech, RARM, loop))
heatsinks++;
}
If I'm reading it right, it checks for Quad heatsinks
in the arm, but checks if the sink is functioning in
the leg. Where it should check in the Arm if the sink
is functioning.

Discussion

  • Cord Awtry

    Cord Awtry - 2002-02-05
    • assigned_to: nobody --> kipsta
     
  • Cord Awtry

    Cord Awtry - 2002-02-06
    • status: open --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB