Permalink
Browse files

Pilot has no purpose at present.

  • Loading branch information...
1 parent f0cebd1 commit eacdde0b603ac455a7bee3a2b956434776f6f628 @Deiz Deiz committed Apr 4, 2012
Showing with 2 additions and 9 deletions.
  1. +2 −9 src/pilot_heat.c
View
@@ -138,18 +138,11 @@ void pilot_heatAddSlot( Pilot *p, PilotOutfitSlot *o )
*/
void pilot_heatAddSlotTime( Pilot *p, PilotOutfitSlot *o, double dt )
{
+ (void) p;
double hmod;
- /* We consider that only 1% of the energy is lost in the form of heat,
- * this keeps numbers sane. */
/* @todo Handle beam modifiers for ships here. */
- if (o->outfit->type == OUTFIT_TYPE_BOLT)
- hmod = p->stats.fwd_heat;
- else if (o->outfit->type == OUTFIT_TYPE_TURRET_BOLT)
- hmod = p->stats.tur_heat;
- else
- hmod = 1.;
-
+ hmod = 1.;
o->heat_T += (hmod * outfit_heat(o->outfit) / o->heat_C) * dt;
}

0 comments on commit eacdde0

Please sign in to comment.