fix for drive key clear enumeration

This commit is contained in:
Stephen Birarda 2014-09-11 14:12:23 -07:00
parent de24842cf0
commit 81758c9df6

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;
}
}