OpenClonk Bugtracker - OpenClonk
View Issue Details
0002067OpenClonkEngine - C4Scriptpublic2019-06-08 13:192019-06-08 13:19
Assigned ToMarky 
PrioritynormalSeverityminorReproducibilityhave not tried
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0002067: Push/PopActionSpeed working like a stack can cause invalid strange behaviour

Speed of action "foo" is originally 100.
Object A has an effect that slows down the target, Object B has an effect that speeds up the object.

Frame 100: Object A calls target->PushActionSpeed("foo", 800, true) (Scale to 80%), Speed is 80
Frame 150: Object B calls target->PushActionSpeed("foo", 1500, true) (Scale to 150%), Speed is 120
Frame 200: Object A calls target->PopActionSpeed("foo"), Speed is 80 (but should be 150!)
Frame 250: Object B calls target->PopActionSpeed("foo"), Speed is 100.
TagsNo tags attached.
Attached Files

There are no notes attached to this issue.

Issue History
2019-06-08 13:19MarkyNew Issue
2019-06-08 13:19MarkyStatusnew => assigned
2019-06-08 13:19MarkyAssigned To => Marky