Static'd some llcachedcontrols.

This commit is contained in:
Shyotl
2011-04-17 20:39:54 -05:00
parent cacf87e962
commit 0c2ea7cc9b

View File

@@ -5882,8 +5882,8 @@ std::string LLVOAvatar::getIdleTime()
// animations.
LLUUID LLVOAvatar::remapMotionID(const LLUUID& id)
{
LLCachedControl<bool> use_new_walk_run("UseNewWalkRun",true);
LLCachedControl<bool> use_cross_walk_run("UseCrossWalkRun",false);
static const LLCachedControl<bool> use_new_walk_run("UseNewWalkRun",true);
static const LLCachedControl<bool> use_cross_walk_run("UseCrossWalkRun",false);
LLUUID result = id;
// start special case female walk for female avatars