summaryrefslogtreecommitdiff
path: root/common/rawaccel-validate.hpp
diff options
context:
space:
mode:
authorJacob Palecki <[email protected]>2021-04-06 18:04:28 -0700
committerJacob Palecki <[email protected]>2021-04-06 18:04:28 -0700
commit758de1d236f591de1d8b2fba4c58bfd8d5bbd26e (patch)
treeb44ae5415e603e351d4343e737a10d2a92e47276 /common/rawaccel-validate.hpp
parentRemove cap and offset style switches (diff)
downloadrawaccel-758de1d236f591de1d8b2fba4c58bfd8d5bbd26e.tar.xz
rawaccel-758de1d236f591de1d8b2fba4c58bfd8d5bbd26e.zip
Rename accelMotivity to growthRate
Diffstat (limited to 'common/rawaccel-validate.hpp')
-rw-r--r--common/rawaccel-validate.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rawaccel-validate.hpp b/common/rawaccel-validate.hpp
index d625d20..338fbdc 100644
--- a/common/rawaccel-validate.hpp
+++ b/common/rawaccel-validate.hpp
@@ -82,7 +82,7 @@ namespace rawaccel {
error("cap"" must be positive");
}
- if (args.accel_motivity <= 0 ||
+ if (args.growth_rate <= 0 ||
args.accel_natural <= 0 ||
args.accel_classic <= 0) {
error("acceleration"" must be positive");