summaryrefslogtreecommitdiffstats
path: root/src/animation/AnimBlendAssociation.h
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2019-07-06 23:00:32 +0200
committereray orçunus <erayorcunus@gmail.com>2019-07-07 00:35:45 +0200
commit0eb8a5d53ecb596fe1e0640ab6d42fa5fe0200b2 (patch)
tree57d7595b137347f5c4e0679d012696d54f045f1a /src/animation/AnimBlendAssociation.h
parentMerge pull request #113 from erorcun/erorcun (diff)
downloadre3-0eb8a5d53ecb596fe1e0640ab6d42fa5fe0200b2.tar
re3-0eb8a5d53ecb596fe1e0640ab6d42fa5fe0200b2.tar.gz
re3-0eb8a5d53ecb596fe1e0640ab6d42fa5fe0200b2.tar.bz2
re3-0eb8a5d53ecb596fe1e0640ab6d42fa5fe0200b2.tar.lz
re3-0eb8a5d53ecb596fe1e0640ab6d42fa5fe0200b2.tar.xz
re3-0eb8a5d53ecb596fe1e0640ab6d42fa5fe0200b2.tar.zst
re3-0eb8a5d53ecb596fe1e0640ab6d42fa5fe0200b2.zip
Diffstat (limited to '')
-rw-r--r--src/animation/AnimBlendAssociation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/animation/AnimBlendAssociation.h b/src/animation/AnimBlendAssociation.h
index d846a4d3..a7e127f7 100644
--- a/src/animation/AnimBlendAssociation.h
+++ b/src/animation/AnimBlendAssociation.h
@@ -77,7 +77,7 @@ public:
void UpdateTime(float timeDelta, float relSpeed);
bool UpdateBlend(float timeDelta);
- float GetTimeLeft() { return hierarchy->totalLength - currentTime; }
+ inline float GetTimeLeft() { return hierarchy->totalLength - currentTime; }
static CAnimBlendAssociation *FromLink(CAnimBlendLink *l) {
return (CAnimBlendAssociation*)((uint8*)l - offsetof(CAnimBlendAssociation, link));