Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7765 in orxonox.OLD for trunk/src


Ignore:
Timestamp:
May 22, 2006, 10:45:50 PM (18 years ago)
Author:
bensch
Message:

trunk: init-values better for the SimpleGameMenu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/story_entities/simple_game_menu.cc

    r7764 r7765  
    459459  this->layerIndex = layer2;
    460460  this->menuSelected = this->menuLayers[layer2].menuList[0];
    461   this->menuSelector->setAbsCoor2D(this->menuSelected->getAbsCoor2D());
     461  this->menuSelector->setAbsCoor2D(this->menuSelected->getAbsCoor2D() + Vector2D(0, this->menuSelected->getSizeY2D() *.5));
     462  this->menuSelector->setSize2D(this->menuSelected->getSizeX2D()*.7, this->menuSelected->getSizeY2D());
    462463  this->menuSelectedIndex = 0;
    463464
Note: See TracChangeset for help on using the changeset viewer.