Fix build issue.

This commit is contained in:
Mr_Goldberg 2020-01-12 14:43:25 -05:00
parent 282ac22a46
commit 106fb03bb0
No known key found for this signature in database
GPG Key ID: 8597D87419DEF278

View File

@ -661,8 +661,8 @@ int GetAnalogActionOrigins( InputHandle_t inputHandle, InputActionSetHandle_t ac
if (a == map->second.active_analog.end()) return 0;
int count = 0;
for (auto a: a->second.first) {
switch (a) {
for (auto b: a->second.first) {
switch (b) {
case TRIGGER_LEFT:
originsOut[count] = k_EInputActionOrigin_XBox360_LeftTrigger_Pull;
break;