mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Merge pull request #1605 from acemod/Fix-injuryToAdd-Med-Extension
Fixed select new injuryToAdd always selects first
This commit is contained in:
commit
973835fcd8
BIN
ace_medical.dll
BIN
ace_medical.dll
Binary file not shown.
@ -96,7 +96,8 @@ namespace ace {
|
||||
}
|
||||
else
|
||||
{
|
||||
injuryToAdd = information.at(0);
|
||||
int indexNewInjuryToAdd = rand() % information.size();
|
||||
injuryToAdd = information.at(indexNewInjuryToAdd);
|
||||
}
|
||||
|
||||
int bodyPartID = selection;
|
||||
|
Loading…
Reference in New Issue
Block a user