- Timestamp:
- May 29, 2008, 12:15:08 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/orxonox/console/InGameConsole.cc
r1455 r1468 299 299 { 300 300 float top = this->consoleOverlayContainer_->getTop(); 301 float timePassed = scrollTimer_; 301 302 this->scrollTimer_ = 0; 302 303 if (this->scroll_ != 0) 303 304 { 304 305 // scroll 305 top = top + 0.02* this->scroll_;306 top = top + timePassed * this->scroll_; 306 307 this->consoleOverlayContainer_->setTop(top); 307 308 }
Note: See TracChangeset
for help on using the changeset viewer.