Changeset 6498 in orxonox.OLD for trunk/src/util/hud.cc
- Timestamp:
- Jan 11, 2006, 9:58:22 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/util/hud.cc
r6446 r6498 143 143 void Hud::updateResolution() 144 144 { 145 this->resX = State:: resX();146 this->resY = State:: resY();145 this->resX = State::getResX(); 146 this->resY = State::getResY(); 147 147 if (this->energyWidget != NULL) 148 148 { … … 174 174 void Hud::tick(float dt) 175 175 { 176 if (this->resY != State:: resY() || this->resX != State::resY())176 if (this->resY != State::getResY() || this->resX != State::getResY()) 177 177 this->updateResolution(); 178 178 }
Note: See TracChangeset
for help on using the changeset viewer.