This is the last try for lint...

This commit is contained in:
Elias Fleckenstein 2020-10-18 14:36:20 +02:00
parent 7e0f8fba02
commit 1e4f354929

View File

@ -49,7 +49,7 @@ void CheatMenu::drawEntry(video::IVideoDriver *driver, std::string name, int num
bool is_category = entry_type == CHEAT_MENU_ENTRY_TYPE_CATEGORY;
y += m_gap + m_head_height +
(number + (is_category ? 0 : m_selected_category)) *
(m_entry_height + m_gap);
(m_entry_height + m_gap);
x += (is_category ? 0 : m_gap + m_entry_width);
if (active)
bgcolor = &m_active_bg_color;