Static'd and or const'd some instances of LLCachedControl.

Converted a few frequently fetched settings to LLCachedControl
This commit is contained in:
Shyotl
2011-02-24 17:27:57 -06:00
parent 6fb8f9bc96
commit 1e85c42bb7
12 changed files with 31 additions and 29 deletions

View File

@@ -220,7 +220,7 @@ void LLConsole::draw()
S32 const clamped_chat_spacing = llclamp((S32)chat_spacing, -16, 128);
if (chat_spacing != clamped_chat_spacing)
{
gSavedSettings.setS32("ChatSpacing", clamped_chat_spacing);
chat_spacing = clamped_chat_spacing;
}
// Adjust spacing.
message_spacing += chat_spacing;