Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6498 in orxonox.OLD for trunk/src/util/hud.cc


Ignore:
Timestamp:
Jan 11, 2006, 9:58:22 PM (20 years ago)
Author:
patrick
Message:

trunk: merged the network branche into the trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/util/hud.cc

    r6446 r6498  
    143143void Hud::updateResolution()
    144144{
    145   this->resX = State::resX();
    146   this->resY = State::resY();
     145  this->resX = State::getResX();
     146  this->resY = State::getResY();
    147147  if (this->energyWidget != NULL)
    148148  {
     
    174174void Hud::tick(float dt)
    175175{
    176   if (this->resY != State::resY() || this->resX != State::resY())
     176  if (this->resY != State::getResY() || this->resX != State::getResY())
    177177    this->updateResolution();
    178178}
Note: See TracChangeset for help on using the changeset viewer.