diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-11-06 13:44:54 +0100 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-11-06 13:44:54 +0100 |
commit | 0aa63aafce3b4f7387b84c0dd49ae8bd1a301daf (patch) | |
tree | f80fad47c61ee42e4bfb3572002ddab04896eabe /src | |
parent | 9db80fc6f0de320da3d5ee6d0d17c2ef38a9ac4b (diff) | |
download | dragonfireclient-0aa63aafce3b4f7387b84c0dd49ae8bd1a301daf.tar.xz |
Fixed warning
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/cheatMenu.cpp | 2 |
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; |