diff options
author | Stijn Buys <ingar@osirion.org> | 2011-02-09 16:01:17 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2011-02-09 16:01:17 +0000 |
commit | a255dbc032d15a4f5024bc60baa19c45ebceecc6 (patch) | |
tree | ca5517aae243957b824767169674248c70f7b1d3 /src/render | |
parent | 38eb51c26ab0d9dbebc974c7a21f96a429ce3098 (diff) |
added sv_collisionmargin Cvar and applied the value to mesh collisions,
added seconds parameter to sys::get_datetime(),
added con_timestamps Cvar,
enabled console timestamps on the dedicated server by default.
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/screenshot.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/screenshot.cc b/src/render/screenshot.cc index 7b40156..f75cbe8 100644 --- a/src/render/screenshot.cc +++ b/src/render/screenshot.cc @@ -68,10 +68,10 @@ void Screenshot::save() // check if the date has changed since the previous screenshot; std::stringstream filenamestr; - int day, month, year, hour, min; + int day, month, year, hour, min, sec; int date_serial; - sys::get_datetime(year, month, day, hour, min); + sys::get_datetime(year, month, day, hour, min, sec); date_serial = (day - 1) + (month - 1) * 31 + (year - 2000) * 31 * 12; if (current_date != date_serial) { current_number = 0; |