Replace inputId by an input in UniversalInput #29
Labels
good first issue
Good for newcomers
Priority : Low
Work on this if nothing more important is available
Milestone
In the file
src/game/entity/dev/controllable.cpp
, there are cases in a switch on the variableactionId
from the fieldKeybind::action.inputId
, and these cases are used on this variable but aren't really explicit:case 0
case 1
case 2
case 3
case 6
These constants could be less obscure if they were replaced by members of an enum with self-explanatory names.
The text was updated successfully, but these errors were encountered: