Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10506 in orxonox.OLD for branches/playability/src/util/hud.cc


Ignore:
Timestamp:
Jan 30, 2007, 5:26:27 PM (17 years ago)
Author:
muellmic
Message:

fixed bug that let disappear the secondWeaponManager after changing the weaponconfig

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/playability/src/util/hud.cc

    r10449 r10506  
    515515    pos.x -= ySize;
    516516    //PRINTF(0)("secweaponwidget y-size: %f/n", (*weaponWidget)->getSizeY2D());
    517     (*weaponWidget)->setAbsCoor2D(pos.x + this->rightRect->getAbsCoor2D().x, pos.y);
     517    (*weaponWidget)->setAbsCoor2D(pos.x, pos.y);//+this->rightRect->getAbsCoor2D().x, pos.y);
    518518    (*weaponWidget)->show();
    519519    //printf("update thing %s::%s\n", (*weaponWidget)->getClassCName(), (*weaponWidget)->getName());
Note: See TracChangeset for help on using the changeset viewer.