fixup debug changes

This commit is contained in:
milek7
2019-09-09 15:49:42 +02:00
parent 0d32ec1e9e
commit a6d772ab65
2 changed files with 2 additions and 4 deletions

View File

@@ -1191,7 +1191,6 @@ void TMoverParameters::CollisionDetect(int const End, double const dt)
void
TMoverParameters::damage_coupler( int const End ) {
return;
if( SetFlag( DamageFlag, dtrain_coupling ) )
EventFlag = true;

View File

@@ -67,15 +67,14 @@ bool TTractionPowerSource::Load(cParser *parser) {
// tak około 0.2, wg
// http://www.ikolej.pl/fileadmin/user_upload/Seminaria_IK/13_05_07_Prezentacja_Kruczek.pdf
InternalRes = 0.2;
}
InternalRes = 0.001;
}
return true;
};
bool TTractionPowerSource::Update(double dt)
{ // powinno być wykonane raz na krok fizyki
// iloczyn napięcia i admitancji daje prąd
if (0) {
if (NominalVoltage * TotalPreviousAdmitance > MaxOutputCurrent) {
FastFuse = true;
FuseCounter += 1;