Fix build issue.

merge-requests/28/head
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
1 changed files with 2 additions and 2 deletions

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;