Refactored validate.c

This commit is contained in:
Lew Rossman
2023-10-05 11:37:13 -04:00
parent 5a03def497
commit c0700c83ee
3 changed files with 118 additions and 128 deletions

View File

@@ -4059,7 +4059,7 @@ int DLLEXPORT EN_setlinkvalue(EN_Project p, int index, int property, double valu
pumpIndex = findpump(&p->network, index);
net->Pump[pumpIndex].Ptype = CONST_HP;
net->Pump[pumpIndex].Hcurve = 0;
net->Link[index].Km = value / Ucf[POWER];
net->Link[index].Km = value;
}
break;