Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 27, 2007, 5:06:55 AM (18 years ago)
Author:
landauf
Message:

put all SetConfigValue macro calls into the setConfigValues function (this is needed to allow changes of the config values at runtime)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/orxonox/objects/Fighter.cc

    r668 r697  
    4747        RegisterObject(Fighter);
    4848
    49         SetConfigValue(bInvertMouse_, false);
     49        this->setConfigValues();
    5050
    5151        this->setMouseEventCallback_ = false;
     
    104104    }
    105105
     106    void Fighter::setConfigValues()
     107    {
     108        SetConfigValue(bInvertMouse_, false);
     109    }
     110
    106111    void Fighter::setMaxSpeedValues(float maxSpeedForward, float maxSpeedRotateUpDown, float maxSpeedRotateRightLeft, float maxSpeedLoopRightLeft)
    107112    {
Note: See TracChangeset for help on using the changeset viewer.