Touchups to namesystem update

This commit is contained in:
Inusaito Sayori
2014-03-25 19:39:02 -04:00
parent f37d83abe1
commit de2ce83a8d
7 changed files with 33 additions and 19 deletions

View File

@@ -878,8 +878,9 @@ void send_stats()
llinfos << "Misc Stats: int_1: " << misc["int_1"] << " int_2: " << misc["int_2"] << llendl;
llinfos << "Misc Stats: string_1: " << misc["string_1"] << " string_2: " << misc["string_2"] << llendl;
body["DisplayNamesEnabled"] = gSavedSettings.getS32("PhoenixNameSystem") == 1 || gSavedSettings.getS32("PhoenixNameSystem") == 2;
body["DisplayNamesShowUsername"] = gSavedSettings.getS32("PhoenixNameSystem") == 1;
const S32 namesys = gSavedSettings.getS32("PhoenixNameSystem");
body["DisplayNamesEnabled"] = namesys > 0 && namesys < 4;
body["DisplayNamesShowUsername"] = namesys == 1 || namesys == 3;
body["MinimalSkin"] = false;