Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/view.cc')
-rw-r--r--src/client/view.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/view.cc b/src/client/view.cc
index e2c8687..5c12710 100644
--- a/src/client/view.cc
+++ b/src/client/view.cc
@@ -138,8 +138,8 @@ void draw_status()
int minutes = (int) floorf(core::game()->clientframetime() / 60.0f);
int seconds = (int) floorf( core::game()->clientframetime() - (float) minutes* 60.0f);
- status << "^Ntime ^B" << std::setfill('0') << std::setw(2) << minutes << "^N:^B" << std::setfill('0') << std::setw(2) << seconds;
- Text::draw(4, 4, status);
+ status << "^Ntime ^B" << std::setfill('0') << std::setw(2) << minutes << ":" << std::setfill('0') << std::setw(2) << seconds;
+ Text::draw(video::width-Text::fontwidth()*11-4, 4+Text::fontheight(), status);
}
// print stats if desired
@@ -152,7 +152,7 @@ void draw_status()
}
stats << "^Ntx ^B"<< std::setw(5) << (core::Stats::network_bytes_sent >> 10) << "\n";
stats << "^Nrx ^B"<< std::setw(5) << (core::Stats::network_bytes_received >> 10) << "\n";
- Text::draw(video::width-Text::fontwidth()*12, video::height - Text::fontheight()*8, stats);
+ Text::draw(video::width-Text::fontwidth()*11-4, 4 + Text::fontheight()*3, stats);
}
// draw a basic HUD