aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-05-15 13:07:53 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-05-15 13:07:53 +0300
commit1c3a85fa54079c0676df520d32f2c414133c2bf1 (patch)
treef17fcc96ec127143b2a7d4451be9669c1dd8b821
parent17f575b11bf28e8fca67b4fff38f1b556cf43625 (diff)
downloadminetest-1c3a85fa54079c0676df520d32f2c414133c2bf1.tar.gz
minetest-1c3a85fa54079c0676df520d32f2c414133c2bf1.tar.bz2
minetest-1c3a85fa54079c0676df520d32f2c414133c2bf1.zip
fixed an "unused variable" warning
-rw-r--r--src/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 2453523ef..d90262060 100644
--- 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)