summaryrefslogtreecommitdiff
path: root/src/instrument.cc
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2019-03-04 18:26:26 +0100
committerAndré Nusser <andre.nusser@googlemail.com>2019-05-11 14:53:23 +0200
commit1965889ac953b354763f194cd7ec44932942477d (patch)
tree0e726c04946a890e38f0773229314da58862e713 /src/instrument.cc
parent32b12957b2fa875a7a0044c7c9c620809de9ae47 (diff)
First version of new sample algorithm.
Diffstat (limited to 'src/instrument.cc')
-rw-r--r--src/instrument.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/instrument.cc b/src/instrument.cc
index 6cc4ee9..ffc928d 100644
--- a/src/instrument.cc
+++ b/src/instrument.cc
@@ -59,7 +59,7 @@ const Sample* Instrument::sample(level_t level, size_t pos)
if(version >= VersionStr("2.0"))
{
// Version 2.0
- return powerlist.get(level * mod);
+ return powerlist.get(level * mod, pos);
}
else
{