Changeset 7230 for code/branches/consolecommands3/src/libraries/core/input
- Timestamp:
- Aug 27, 2010, 7:29:49 PM (14 years ago)
- Location:
- code/branches/consolecommands3/src/libraries/core/input
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/consolecommands3/src/libraries/core/input/Button.cc
r7204 r7230 175 175 176 176 // evaluate the command 177 const CommandEvaluation&eval = CommandExecutor::evaluate(commandStr);178 if (!eval.isValid() )177 CommandEvaluation eval = CommandExecutor::evaluate(commandStr); 178 if (!eval.isValid() || eval.evaluateParams(true)) 179 179 { 180 180 parseError("Command evaluation of \"" + commandStr + "\"failed.", true); -
code/branches/consolecommands3/src/libraries/core/input/InputCommands.cc
r7228 r7230 53 53 if (this->abs_ != 0.0f || this->rel_ != 0.0f) 54 54 { 55 //evaluation_.setEvaluatedParameter(paramIndex_, Vector2(abs_, rel_));55 evaluation_.setEvaluatedParameter(paramIndex_, Vector2(abs_, rel_)); 56 56 // reset 57 57 rel_ = 0.0;
Note: See TracChangeset
for help on using the changeset viewer.