Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7030 in orxonox.OLD for trunk/src/story_entities


Ignore:
Timestamp:
Feb 4, 2006, 4:24:13 AM (19 years ago)
Author:
bensch
Message:

minor

File:
1 edited

Legend:

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

    r7029 r7030  
    376376    {
    377377      this->menuSelected = this->menuLayers[this->layerIndex].menuList[++this->menuSelectedIndex];
    378       this->menuSelector->setAbsCoor2D(this->menuSelected->getAbsCoor2D());
     378      this->menuSelector->setAbsCoor2D(this->menuSelected->getAbsCoor2D() + Vector(0, this->menuSelected->getSizeY2D() *.5,0));
     379      this->menuSelector->setSize(this->menuSelected->getSizeX2D(), this->menuSelected->getSizeY2D());
    379380
    380381      if( this->layerIndex == 1)
     
    390391    {
    391392      this->menuSelected = this->menuLayers[this->layerIndex].menuList[--this->menuSelectedIndex];
    392       this->menuSelector->setAbsCoor2D(this->menuSelected->getAbsCoor2D());
     393      this->menuSelector->setAbsCoor2D(this->menuSelected->getAbsCoor2D() + Vector(0, this->menuSelected->getSizeY2D() *.5,0));
     394      this->menuSelector->setSize(this->menuSelected->getSizeX2D(), this->menuSelected->getSizeY2D());
    393395
    394396      if( this->layerIndex == 1)
Note: See TracChangeset for help on using the changeset viewer.