fixed an "unused variable" warning
authorPerttu Ahola <celeron55@gmail.com>
Sun, 15 May 2011 10:07:53 +0000 (13:07 +0300)
committerPerttu Ahola <celeron55@gmail.com>
Sun, 15 May 2011 10:07:53 +0000 (13:07 +0300)
src/game.cpp

index 2453523ef8b9b0cd905da34a472b8ac94db317f1..d902620605f86caf4cf09cfa5f4bec82f804f310 100644 (file)
@@ -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)