summaryrefslogtreecommitdiff
path: root/src/managers/AnimationManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/managers/AnimationManager.cpp')
-rw-r--r--src/managers/AnimationManager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/managers/AnimationManager.cpp b/src/managers/AnimationManager.cpp
index 61221938..2774ee85 100644
--- a/src/managers/AnimationManager.cpp
+++ b/src/managers/AnimationManager.cpp
@@ -67,7 +67,7 @@ void CAnimationManager::tick() {
if (!deltazero(av->m_fValue, av->m_fGoal)) {
// for disabled anims just warp
- if (av->m_pEnabled == 0 || animationsDisabled) {
+ if (*av->m_pEnabled == 0 || animationsDisabled) {
av->warp();
break;
}
@@ -92,7 +92,7 @@ void CAnimationManager::tick() {
if (!deltazero(av->m_vValue, av->m_vGoal)) {
// for disabled anims just warp
- if (av->m_pEnabled == 0 || animationsDisabled) {
+ if (*av->m_pEnabled == 0 || animationsDisabled) {
av->warp();
break;
}
@@ -117,7 +117,7 @@ void CAnimationManager::tick() {
if (!deltazero(av->m_cValue, av->m_cGoal)) {
// for disabled anims just warp
- if (av->m_pEnabled == 0 || animationsDisabled) {
+ if (*av->m_pEnabled == 0 || animationsDisabled) {
av->warp();
break;
}