mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 01:53:45 +01:00
fixed an "unused variable" warning
This commit is contained in:
parent
17f575b11b
commit
1c3a85fa54
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user