aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElias Fleckenstein <eliasfleckenstein@web.de>2020-11-06 13:44:54 +0100
committerElias Fleckenstein <eliasfleckenstein@web.de>2020-11-06 13:44:54 +0100
commit0aa63aafce3b4f7387b84c0dd49ae8bd1a301daf (patch)
treef80fad47c61ee42e4bfb3572002ddab04896eabe /src
parent9db80fc6f0de320da3d5ee6d0d17c2ef38a9ac4b (diff)
downloaddragonfireclient-0aa63aafce3b4f7387b84c0dd49ae8bd1a301daf.tar.xz
Fixed warning
Diffstat (limited to 'src')
-rw-r--r--src/gui/cheatMenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/cheatMenu.cpp b/src/gui/cheatMenu.cpp
index d441e8dfc..288897ce4 100644
--- a/src/gui/cheatMenu.cpp
+++ b/src/gui/cheatMenu.cpp
@@ -167,7 +167,7 @@ void CheatMenu::drawHUD(video::IVideoDriver *driver, double dtime)
std::vector<video::SColor> colors;
for (int i = 0; i < cheat_count; i++) {
- video::SColor color;
+ video::SColor color = video::SColor(255, 0, 0, 0);
f32 h = (f32)i * 2.0f / (f32)cheat_count - m_rainbow_offset;
if (h < 0)
h = 6.0f + h;