fix EN_INITSETTING

Co-Authored-By: Lew Rossman <lrossman@outlook.com>
Co-Authored-By: Elad Salomons <selad@optiwater.com>

#583
This commit is contained in:
mariosmsk
2020-02-09 22:05:40 +02:00
parent 77243b1607
commit 25f9a6f6d1

View File

@@ -3631,7 +3631,8 @@ int DLLEXPORT EN_getlinkvalue(EN_Project p, int index, int property, double *val
{
return EN_getlinkvalue(p, index, EN_ROUGHNESS, value);
}
v = Link[index].Kc;
if (Link[index].Kc == MISSING) v = 0.0;
else v = Link[index].Kc;
switch (Link[index].Type)
{
case PRV: