- Timestamp:
- Dec 2, 2015, 11:22:03 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/libraries/core/input/KeyBinder.h
r10845 r10916 226 226 { 227 227 // execute all buffered bindings (additional parameter) 228 for ( auto & elem: paramCommandBuffer_)228 for (BufferedParamCommand* command : paramCommandBuffer_) 229 229 { 230 elem->rel_ *= dt;231 elem->execute();230 command->rel_ *= dt; 231 command->execute(); 232 232 } 233 233 234 234 // always reset the relative movement of the mouse 235 for ( auto & elem: mouseAxes_)236 elem.relVal_ = 0.0f;235 for (HalfAxis& axis : mouseAxes_) 236 axis.relVal_ = 0.0f; 237 237 } 238 238 }// tolua_export
Note: See TracChangeset
for help on using the changeset viewer.