summaryrefslogtreecommitdiff
path: root/src/gui/palette.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-15 22:40:40 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-15 22:40:40 +0300
commitb10c6ee0b9c8428f9ed426357a58aa42ee14cbfe (patch)
tree279df324772bbd8e69aed934940cd4aa8da58999 /src/gui/palette.cpp
parentbc5f2bc679b7af67e652fad23f4132e212c78845 (diff)
downloadmanaverse-b10c6ee0b9c8428f9ed426357a58aa42ee14cbfe.tar.gz
manaverse-b10c6ee0b9c8428f9ed426357a58aa42ee14cbfe.tar.bz2
manaverse-b10c6ee0b9c8428f9ed426357a58aa42ee14cbfe.tar.xz
manaverse-b10c6ee0b9c8428f9ed426357a58aa42ee14cbfe.zip
Fix code style.
Diffstat (limited to 'src/gui/palette.cpp')
-rw-r--r--src/gui/palette.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/palette.cpp b/src/gui/palette.cpp
index c7bd7612e..7fcf153fe 100644
--- a/src/gui/palette.cpp
+++ b/src/gui/palette.cpp
@@ -194,7 +194,6 @@ void Palette::advanceGradient()
}
}
- if (advance != 0)
- mRainbowTime = tick_time;
+ mRainbowTime = tick_time;
}
}