Merge pull request #1605 from acemod/Fix-injuryToAdd-Med-Extension

Fixed select new injuryToAdd always selects first
This commit is contained in:
Glowbal 2015-06-13 22:28:33 +02:00
commit 973835fcd8
2 changed files with 2 additions and 1 deletions

Binary file not shown.

View File

@ -96,7 +96,8 @@ namespace ace {
}
else
{
injuryToAdd = information.at(0);
int indexNewInjuryToAdd = rand() % information.size();
injuryToAdd = information.at(indexNewInjuryToAdd);
}
int bodyPartID = selection;