Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 24, 2008, 12:58:49 AM (16 years ago)
Author:
rgrieder
Message:

fixed a warning in KeyBinder.cc and an error when converting a MultiType to std::string.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy/src/core/input/KeyBinder.cc

    r2001 r2004  
    359359        }
    360360
    361         for (int i = 0; i < MouseAxisCode::numberOfAxes * 2; i++)
     361        for (unsigned int i = 0; i < MouseAxisCode::numberOfAxes * 2; i++)
    362362        {
    363363            // Why dividing relative value by dt? The reason lies in the simple fact, that when you
     
    378378    void KeyBinder::tickJoyStick(float dt, unsigned int joyStick)
    379379    {
    380         for (int i = 0; i < JoyStickAxisCode::numberOfAxes * 2; i++)
     380        for (unsigned int i = 0; i < JoyStickAxisCode::numberOfAxes * 2; i++)
    381381        {
    382382            tickHalfAxis(joyStickAxes_[joyStick][i]);
Note: See TracChangeset for help on using the changeset viewer.