mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-06 08:13:11 +02:00
Fix crash -- use correct index.
This commit is contained in:
parent
be1aaee359
commit
e5a700bf79
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ void Hand::updateCollisions() {
|
|||
for (size_t j = 0; j < collisions.size(); ++j) {
|
||||
totalPenetration = addPenetrations(totalPenetration, collisions[j]._penetration);
|
||||
// TODO: Andrew to poke avatar using collision info
|
||||
avatar->poke(collisions[i]);
|
||||
avatar->poke(collisions[j]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue