Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 28, 2008, 11:12:18 PM (17 years ago)
Author:
rgrieder
Message:
  • fixed bug with shaking camera
  • made part of camera adjustments more fps independent
  • fixed a bug in KeyBinder
Location:
code/branches/network/src/core
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network/src/core/InputManager.cc

    r1461 r1465  
    560560      case IS_NODETECT:
    561561        _restoreState();
     562        keysDown_.clear();
     563        mouseButtonsDown_.clear();
     564        joyStickButtonsDown_[0].clear();
    562565        state_ = IS_NODETECT;
    563566        stateRequest_ = savedState_;
  • code/branches/network/src/core/KeyBinder.cc

    r1461 r1465  
    341341      paramCommands_[i] = cmds[i];
    342342    paramCommands_[i] = command;
    343     delete[] cmds;
     343    if (nParamCommands_ > 1)
     344      delete[] cmds;
    344345    return true;
    345346  }
Note: See TracChangeset for help on using the changeset viewer.