Fixing bug EN_getcurvetype

This commit is contained in:
Michael Tryby
2018-08-23 08:00:30 -04:00
parent 670440b55c
commit 40cd25748c

View File

@@ -3650,6 +3650,8 @@ int DLLEXPORT EN_getpumptype(EN_ProjectHandle ph, int index, int *type) {
int DLLEXPORT EN_getcurvetype(EN_ProjectHandle ph, int curveindex, int *type) {
EN_Project *p = (EN_Project*)ph;
EN_Network *net = &p->network;
if (!p->Openflag)