summaryrefslogtreecommitdiffstats
path: root/src/animation/AnimManager.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-05-16 22:58:44 +0200
committerSergeanur <s.anureev@yandex.ua>2020-05-16 22:58:44 +0200
commit77f97ad2adffa40a524c53027c14167155fa182e (patch)
tree4a886cd2ca227fc4da5c8efcda68efa8c7b072b7 /src/animation/AnimManager.cpp
parentMerge branch 'master' into miami (diff)
parentRemove magic consts from ms_aAnimAssocDefinitions (diff)
downloadre3-77f97ad2adffa40a524c53027c14167155fa182e.tar
re3-77f97ad2adffa40a524c53027c14167155fa182e.tar.gz
re3-77f97ad2adffa40a524c53027c14167155fa182e.tar.bz2
re3-77f97ad2adffa40a524c53027c14167155fa182e.tar.lz
re3-77f97ad2adffa40a524c53027c14167155fa182e.tar.xz
re3-77f97ad2adffa40a524c53027c14167155fa182e.tar.zst
re3-77f97ad2adffa40a524c53027c14167155fa182e.zip
Diffstat (limited to 'src/animation/AnimManager.cpp')
-rw-r--r--src/animation/AnimManager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/animation/AnimManager.cpp b/src/animation/AnimManager.cpp
index 55bd7d53..bf4bab53 100644
--- a/src/animation/AnimManager.cpp
+++ b/src/animation/AnimManager.cpp
@@ -901,7 +901,7 @@ char const* aChainsawStrafeRightAnimations[] = {
const AnimAssocDefinition CAnimManager::ms_aAnimAssocDefinitions[NUM_ANIM_ASSOC_GROUPS] = {
- { "man", "ped", MI_COP, 173, aStdAnimations, aStdAnimDescs },
+ { "man", "ped", MI_COP, awc(aStdAnimations), aStdAnimDescs },
{ "van", "van", MI_COP, 8, aVanAnimations, aVanAnimDescs },
{ "coach", "coach", MI_COP, 5, aCoachAnimations, aCoachAnimDescs },
{ "bikes", "bikes", MI_COP, 18, aBikesAnimations, aBikeAnimDescs },
@@ -963,6 +963,7 @@ const AnimAssocDefinition CAnimManager::ms_aAnimAssocDefinitions[NUM_ANIM_ASSOC_
{ "csawleft", "ped", MI_COP, 5, aChainsawStrafeLeftAnimations, aStdAnimDescsSide },
{ "csawright", "ped", MI_COP, 5, aChainsawStrafeRightAnimations, aStdAnimDescsSide },
};
+#undef awc
void
CAnimManager::Initialise(void)