|
From: Tapio V. <aa...@us...> - 2010-05-19 09:12:59
|
Module: performous
Branch: master
Commit: 6d98e46fd37c8897b7f88b366de8ab524a10a627
Author: Tapio Vierros <tap...@gm...>
Date: Wed May 19 12:12:24 2010 +0300
Attempt to be MSVC friendly.
---
game/guitargraph.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/game/guitargraph.cc b/game/guitargraph.cc
index 3b7399d..8653379 100644
--- a/game/guitargraph.cc
+++ b/game/guitargraph.cc
@@ -484,7 +484,7 @@ void GuitarGraph::guitarPlay(double time, input::Event const& ev) {
m_flames[ev.button].back().setTarget(1.0);
return;
}
- bool frets[m_pads]; // The combination about to be played
+ bool frets[max_panels]; // The combination about to be played
if (picked) {
for (int fret = 0; fret < m_pads; ++fret) {
frets[fret] = ev.pressed[fret];
|