Changeset 9982 for code/trunk/src/libraries
- Timestamp:
- Jan 4, 2014, 11:48:18 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/libraries/core/input/Button.cc
r9981 r9982 129 129 float paramModifier = 1.0f; 130 130 std::string commandStr; 131 bool forceArguments = false; 131 132 132 133 for (unsigned int iToken = 0; iToken < tokens.size(); ++iToken) … … 142 143 else if (token == "onhold") 143 144 mode = KeybindMode::OnHold; 145 else if (token == "forcearguments") 146 forceArguments = true; 144 147 else if (token == "buttonthreshold") 145 148 { … … 186 189 // check for param command 187 190 int paramIndex = eval.getConsoleCommand()->getInputConfiguredParam_(); 188 if (paramIndex >= 0 )191 if (paramIndex >= 0 && !forceArguments) 189 192 { 190 193 // parameter supported command
Note: See TracChangeset
for help on using the changeset viewer.