From 13526097f24b7a8ad63b1d482c44b44397fa055f Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Thu, 1 May 2008 16:35:00 +0000 Subject: * Spring cleaning on Region.Environment. * Converted a large number of read-only fields to be actually, readonly. * Reformatted code sections. * Removed redundant code. --- OpenSim/Region/Environment/Scenes/AvatarAnimations.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'OpenSim/Region/Environment/Scenes/AvatarAnimations.cs') diff --git a/OpenSim/Region/Environment/Scenes/AvatarAnimations.cs b/OpenSim/Region/Environment/Scenes/AvatarAnimations.cs index fe9c8e7..2fc2a10 100644 --- a/OpenSim/Region/Environment/Scenes/AvatarAnimations.cs +++ b/OpenSim/Region/Environment/Scenes/AvatarAnimations.cs @@ -46,8 +46,8 @@ namespace OpenSim.Region.Environment.Scenes { if (nod.Attributes["name"] != null) { - string name = (string)nod.Attributes["name"].Value; - LLUUID id = (LLUUID)nod.InnerText; + string name = nod.Attributes["name"].Value; + LLUUID id = (LLUUID) nod.InnerText; AnimsLLUUID.Add(name, id); AnimsNames.Add(id, name); @@ -56,4 +56,4 @@ namespace OpenSim.Region.Environment.Scenes } } } -} +} \ No newline at end of file -- cgit v1.1