That sounds as an Oolite but to me. And now you mention it, I remember it happening to me long ago also.Mauiby de Fug wrote:.....when I managed to self-destruct by using my ECM. Needless to say, I pay a bit more attention to how much energy I have these days!
Looking in the code I see there is no break-off for ECM use when energy is dropping below zero, although it looks that it was intended to not crash the player:
Code: Select all
if (energy > 0.0)
energy -= (float)(ECM_ENERGY_DRAIN_FACTOR * delta_t); // drain energy because of the ECM
else
{
ecm_in_operation = NO;
[UNIVERSE addMessage:DESC(@"ecm-out-of-juice") forCount:3.0];
}
Code: Select all
if (energy > 0.0)
energy -= (float)(ECM_ENERGY_DRAIN_FACTOR * delta_t); // drain energy because of the ECM
if (energy <= 0)
{
energy = 0;
ecm_in_operation = NO;
[UNIVERSE addMessage:DESC(@"ecm-out-of-juice") forCount:3.0];
}