diff options
-rw-r--r-- | src/client/view.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/client/view.cc b/src/client/view.cc index 488a1cb..695f478 100644 --- a/src/client/view.cc +++ b/src/client/view.cc @@ -141,7 +141,7 @@ void draw_status() int minutes = (int) floorf(core::game()->clientframetime() / 60.0f); int seconds = (int) floorf( core::game()->clientframetime() - (float) minutes* 60.0f); - status << " time " << std::setfill('0') << std::setw(2) << minutes << ":" << std::setfill('0') << std::setw(2) << seconds; + status << "time " << std::setfill('0') << std::setw(2) << minutes << ":" << std::setfill('0') << std::setw(2) << seconds; draw_text(CHARWIDTH, 4, status); } @@ -155,14 +155,16 @@ void draw_status() } stats << "tx "<< std::setw(5) << (core::Stats::network_bytes_sent >> 10) << "\n"; stats << "rx "<< std::setw(5) << (core::Stats::network_bytes_received >> 10) << "\n"; - draw_text(video::width-CHARWIDTH*12, CHARHEIGHT*2, stats); + draw_text(video::width-CHARWIDTH*12, 4, stats); } + /* // print the version number in the upper right corner gl::color(0.0f, 1.0f, 0.0f, 1.0f); std::string version("ver. "); version.append(core::version()); draw_text(video::width-(version.size()+1)*CHARWIDTH, 4, version); + */ // draw notifications gl::color(1.0f, 1.0f, 1.0f, 1.0f); |