projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17f575b
)
fixed an "unused variable" warning
author
Perttu Ahola
<celeron55@gmail.com>
Sun, 15 May 2011 10:07:53 +0000
(13:07 +0300)
committer
Perttu Ahola
<celeron55@gmail.com>
Sun, 15 May 2011 10:07:53 +0000
(13:07 +0300)
src/game.cpp
patch
|
blob
|
history
diff --git
a/src/game.cpp
b/src/game.cpp
index 2453523ef8b9b0cd905da34a472b8ac94db317f1..d902620605f86caf4cf09cfa5f4bec82f804f310 100644
(file)
--- a/
src/game.cpp
+++ b/
src/game.cpp
@@
-270,7
+270,7
@@
void updateViewingRange(f32 frametime_in, Client *client)
new_range += wanted_range_change;
- float new_range_unclamped = new_range;
+
//
float new_range_unclamped = new_range;
if(new_range < range_min)
new_range = range_min;
if(new_range > range_max)