Changed version # in binary output file

Kept version number at 20012 in binary output file so that the existing EPANET GUI can use this EPANET DLL.
This commit is contained in:
Lew Rossman
2018-05-24 09:35:49 -04:00
parent 24d6b91607
commit 4d1cd779ca
2 changed files with 6 additions and 1 deletions

View File

@@ -70,7 +70,8 @@ int savenetdata(EN_Project *pr)
ibuf[0] = MAGICNUMBER;
/*** CODEVERSION replaces VERSION ***/
ibuf[1] = CODEVERSION;
//ibuf[1] = CODEVERSION;
ibuf[1] = 20012; // keep version at 2.00.12 so that GUI will run
ibuf[2] = net->Nnodes;
ibuf[3] = net->Ntanks;