Merge pull request #3397 from birarda/fix-stuck-drive-key

fix for MyAvatar save crash
This commit is contained in:
Stephen Birarda 2014-09-11 14:13:45 -07:00
commit afef42509d

View file

@ -1974,7 +1974,7 @@ glm::vec3 MyAvatar::getLaserPointerTipPosition(const PalmData* palm) {
}
void MyAvatar::clearDriveKeys() {
for (int i = 0; i < sizeof(_driveKeys); i++) {
for (int i = 0; i < MAX_DRIVE_KEYS; ++i) {
_driveKeys[i] = 0.0f;
}
}