|
From: Tapio V. <aa...@us...> - 2010-09-27 14:16:41
|
Module: performous
Branch: master
Commit: d00e2e3e0c5ab071f00e9b33220490d0876bda6a
Author: Tapio Vierros <tap...@gm...>
Date: Mon Sep 27 17:15:34 2010 +0300
Disabled lefty-mode with keyboard guitar.
---
game/guitargraph.cc | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/game/guitargraph.cc b/game/guitargraph.cc
index cf76e00..99d9390 100644
--- a/game/guitargraph.cc
+++ b/game/guitargraph.cc
@@ -170,7 +170,9 @@ void GuitarGraph::setupJoinMenu() {
m_menu.add(MenuOption("", _("Select difficulty"), &m_selectedDifficulty)); // MenuOption that cycles the options
m_menu.back().setDynamicName(m_difficultyOpt); // Set the title to be dynamic
}
- m_menu.add(MenuOption(_("Lefty-mode"), "", &m_leftymode));
+ // Lefty-mode is not available with keyboard guitar
+ if (m_drums || !m_input.isKeyboard())
+ m_menu.add(MenuOption(_("Lefty-mode"), "", &m_leftymode));
m_menu.back().setDynamicComment(m_leftyOpt);
m_menu.add(MenuOption(_("Quit"), _("Exit to song browser"), "Songs"));
}
|