summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-25 14:04:23 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-25 14:04:23 +0300
commit2ed588669e77c3dc9d6cae36ee148cab3125b901 (patch)
tree36faeda2872c084768b2f9ee7364ca41e4964372 /src
parent575e8ce024cc96e6187063680f5eb25dd4fc636d (diff)
downloadmanaverse-2ed588669e77c3dc9d6cae36ee148cab3125b901.tar.gz
manaverse-2ed588669e77c3dc9d6cae36ee148cab3125b901.tar.bz2
manaverse-2ed588669e77c3dc9d6cae36ee148cab3125b901.tar.xz
manaverse-2ed588669e77c3dc9d6cae36ee148cab3125b901.zip
fix compilation warning.
Diffstat (limited to 'src')
-rw-r--r--src/client.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 72da13128..c98dfeb82 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -2824,7 +2824,6 @@ void Client::applyGamma()
{
if (config.getFloatValue("enableGamma"))
{
- const float val = config.getFloatValue("gamma");
SDL::setGamma(mainGraphics->getWindow(),
config.getFloatValue("gamma"));
}