aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorUbitUmarov2016-12-06 17:16:47 +0000
committerUbitUmarov2016-12-06 17:16:47 +0000
commitde36092d23736f448f5612cbe8b1965422e13a6c (patch)
tree1cb951f0f53e36354910775addda86f472ea92d2
parent add osNpcSetProfileAbout(LSL_Key npc, string about) to set NPCs profile Abou... (diff)
downloadopensim-SC-de36092d23736f448f5612cbe8b1965422e13a6c.zip
opensim-SC-de36092d23736f448f5612cbe8b1965422e13a6c.tar.gz
opensim-SC-de36092d23736f448f5612cbe8b1965422e13a6c.tar.bz2
opensim-SC-de36092d23736f448f5612cbe8b1965422e13a6c.tar.xz
if we have profile then npc is online
-rw-r--r--OpenSim/Region/CoreModules/Avatar/UserProfiles/UserProfileModule.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/UserProfiles/UserProfileModule.cs b/OpenSim/Region/CoreModules/Avatar/UserProfiles/UserProfileModule.cs
index 94dc5f5..5be8556 100644
--- a/OpenSim/Region/CoreModules/Avatar/UserProfiles/UserProfileModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/UserProfiles/UserProfileModule.cs
@@ -1010,7 +1010,7 @@ namespace OpenSim.Region.CoreModules.Avatar.UserProfiles
1010 if (p != null && p.isNPC) 1010 if (p != null && p.isNPC)
1011 { 1011 {
1012 remoteClient.SendAvatarProperties(avatarID, ((INPC)(p.ControllingClient)).profileAbout, "5/25/1977", 1012 remoteClient.SendAvatarProperties(avatarID, ((INPC)(p.ControllingClient)).profileAbout, "5/25/1977",
1013 Utils.StringToBytes("NPC"), "NPCs have no life", 0, 1013 Utils.StringToBytes("Non Player Character (NPC)"), "NPCs have no life", 16,
1014 UUID.Zero, UUID.Zero, "", UUID.Zero); 1014 UUID.Zero, UUID.Zero, "", UUID.Zero);
1015 remoteClient.SendAvatarInterestsReply(avatarID, 0, "", 1015 remoteClient.SendAvatarInterestsReply(avatarID, 0, "",
1016 0, "Getting into trouble", "Droidspeak"); 1016 0, "Getting into trouble", "Droidspeak");