diff options
| author | aap <aap@papnet.eu> | 2019-07-23 16:39:30 +0200 |
|---|---|---|
| committer | aap <aap@papnet.eu> | 2019-07-23 16:39:30 +0200 |
| commit | e9cafe340a16c489c5f6874066b9836d70bd0091 (patch) | |
| tree | d4dd7107784bd7cdf6ef055287bc6deffd35f925 /src/animation | |
| parent | Merge pull request #161 from ShFil119/audio5 (diff) | |
| download | re3-e9cafe340a16c489c5f6874066b9836d70bd0091.tar.gz | |
bit more CAutomobile
Diffstat (limited to 'src/animation')
| -rw-r--r-- | src/animation/AnimBlendAssociation.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/animation/AnimBlendAssociation.h b/src/animation/AnimBlendAssociation.h index a7e127f7..cd61636f 100644 --- a/src/animation/AnimBlendAssociation.h +++ b/src/animation/AnimBlendAssociation.h @@ -77,6 +77,8 @@ public: void UpdateTime(float timeDelta, float relSpeed); bool UpdateBlend(float timeDelta); + void SetRun(void) { flags |= ASSOC_RUNNING; } + inline float GetTimeLeft() { return hierarchy->totalLength - currentTime; } static CAnimBlendAssociation *FromLink(CAnimBlendLink *l) { |
