summaryrefslogtreecommitdiff
path: root/Table.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'Table.hpp')
-rw-r--r--Table.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Table.hpp b/Table.hpp
index 266f950..0c3b708 100644
--- a/Table.hpp
+++ b/Table.hpp
@@ -4,10 +4,11 @@
class Table {
private:
+ static const int _yend = CFG_DHEIGHT - 32;
static const int _height = 64;
static const int _depth = 2;
static const int _delay = 8;
- static const int _lane = CFG_DHEIGHT / _height;
+ static const int _lane = _yend / _height;
int _notes[_depth][_height];
int _strength[_depth][_height];
int _hovered, _edited, _layer;