Changeset 2004
- Timestamp:
- Oct 24, 2008, 12:58:49 AM (16 years ago)
- Location:
- code/branches/objecthierarchy/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/core/input/KeyBinder.cc
r2001 r2004 359 359 } 360 360 361 for ( int i = 0; i < MouseAxisCode::numberOfAxes * 2; i++)361 for (unsigned int i = 0; i < MouseAxisCode::numberOfAxes * 2; i++) 362 362 { 363 363 // Why dividing relative value by dt? The reason lies in the simple fact, that when you … … 378 378 void KeyBinder::tickJoyStick(float dt, unsigned int joyStick) 379 379 { 380 for ( int i = 0; i < JoyStickAxisCode::numberOfAxes * 2; i++)380 for (unsigned int i = 0; i < JoyStickAxisCode::numberOfAxes * 2; i++) 381 381 { 382 382 tickHalfAxis(joyStickAxes_[joyStick][i]); -
code/branches/objecthierarchy/src/orxonox/gamestates/GSClient.cc
r2003 r2004 55 55 GSLevel::enter(); 56 56 57 this->client_ = new network::Client( (std::string)CommandLine::getValue("ip"), CommandLine::getValue("port"));57 this->client_ = new network::Client(CommandLine::getValue("ip").getString(), CommandLine::getValue("port")); 58 58 59 59 if(!client_->establishConnection())
Note: See TracChangeset
for help on using the changeset viewer.