Merge pull request #856 from Mariosmsk/fix-in-getpumptype

fix-in-getpumptype
This commit is contained in:
Lew Rossman
2025-05-15 07:52:37 -04:00
committed by GitHub

View File

@@ -530,6 +530,7 @@ int pumpdata(Project *pr)
{
c = findcurve(net, parser->Tok[m]);
if (c == 0) return setError(parser, m, 206);
pump->Ptype = CUSTOM;
pump->Hcurve = c;
}
else if (match(parser->Tok[m - 1], w_PATTERN)) // Speed/status pattern