aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-ramping.c
diff options
context:
space:
mode:
authorSelene ToyKeeper2021-11-06 00:52:59 -0600
committerSelene ToyKeeper2021-11-06 00:52:59 -0600
commit4f7d9b8614f4f98359d30305523629e379fac4f3 (patch)
tree3a525163d6b4e105ab37168bab121ebd023f6f45 /spaghetti-monster/fsm-ramping.c
parentmerged gchart's SP10 Pro branch (diff)
parentMerge TKs changes through her commit 628 (diff)
downloadanduril-4f7d9b8614f4f98359d30305523629e379fac4f3.tar.gz
anduril-4f7d9b8614f4f98359d30305523629e379fac4f3.tar.bz2
anduril-4f7d9b8614f4f98359d30305523629e379fac4f3.zip
merged gchart's recent changes
Diffstat (limited to 'spaghetti-monster/fsm-ramping.c')
-rw-r--r--spaghetti-monster/fsm-ramping.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/spaghetti-monster/fsm-ramping.c b/spaghetti-monster/fsm-ramping.c
index e8fcde7..05c2e0e 100644
--- a/spaghetti-monster/fsm-ramping.c
+++ b/spaghetti-monster/fsm-ramping.c
@@ -267,7 +267,9 @@ void gradual_tick() {
)
{
//actual_level = gt + 1;
+ uint8_t orig = gradual_target;
set_level(gt + 1);
+ gradual_target = orig;
}
// is handled in set_level()
//#ifdef USE_TINT_RAMPING