projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Made code -Wshadow clean, missed a bunch of issues in the last commit
[supertux.git]
/
src
/
object
/
level_time.cpp
diff --git
a/src/object/level_time.cpp
b/src/object/level_time.cpp
index
4cf041d
..
0ab963f
100644
(file)
--- a/
src/object/level_time.cpp
+++ b/
src/object/level_time.cpp
@@
-120,9
+120,9
@@
LevelTime::get_time()
}
void
-LevelTime::set_time(float time_left)
+LevelTime::set_time(float time_left
_
)
{
- this->time_left = std::min(std::max(time_left, 0.0f), 999.0f);
+ this->time_left = std::min(std::max(time_left
_
, 0.0f), 999.0f);
}
/* EOF */