Octave Interface: Yet more fix on multicase octave script exec.

This commit is contained in:
Ceetron 2013-09-27 17:06:20 +02:00
parent 6a7181e1d9
commit 7e4c793da5

View File

@ -184,7 +184,7 @@ RimCase* RiaSocketServer::findReservoir(int caseId)
for (size_t i = 0; i < cases.size(); i++) for (size_t i = 0; i < cases.size(); i++)
{ {
if (cases[i]->caseId == caseId) if (cases[i]->caseId == currCaseId)
{ {
return cases[i]; return cases[i];
} }