From 8c6e6143c236b7dcfe68776ee6a2e89f931b00d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Liru=20F=C3=A6rs?= Date: Mon, 23 Mar 2020 09:11:13 -0400 Subject: [PATCH] Fix accidental paste in aosystem init --- indra/newview/aosystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/aosystem.cpp b/indra/newview/aosystem.cpp index 18e12445b..49650acf4 100644 --- a/indra/newview/aosystem.cpp +++ b/indra/newview/aosystem.cpp @@ -207,7 +207,7 @@ AOSystem::AOSystem() { // TODO: When we move to C++20 and when GCC and MSVC support it (at the time of writing, neither fully do), use __VA_OPT__ here instead. #define ANY_OVERRIDE(which, state, ...) mAOOverrides[STATE_AGENT_##state] = new which(ANIM_AGENT_##state, ##__VA_ARGS__) -#define BASIC_OVERRIDE(state, ...) ANY_OVERRIDE(override_single, ##state, ##__VA_ARGS__) +#define BASIC_OVERRIDE(state, ...) ANY_OVERRIDE(override_single, state, ##__VA_ARGS__) mAOOverrides[STATE_AGENT_IDLE] = new override_stand(); BASIC_OVERRIDE(WALK, "Walk"); BASIC_OVERRIDE(RUN, "Run");