diff options
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 b0ffb204b..f796fb0ba 100644 --- a/src/gui/cheatMenu.cpp +++ b/src/gui/cheatMenu.cpp @@ -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; |