summaryrefslogtreecommitdiff
path: root/src/staminafilter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/staminafilter.cc')
-rw-r--r--src/staminafilter.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/staminafilter.cc b/src/staminafilter.cc
index 5f7599a..fc14920 100644
--- a/src/staminafilter.cc
+++ b/src/staminafilter.cc
@@ -63,7 +63,7 @@ bool StaminaFilter::filter(event_t& event, size_t pos)
lastpos = 0;
}
- event.velocity *= mod;
+ event.velocity_or_state *= mod;
if(enable_velocity_modifier)
{