mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
last round of warning squashing. calling it a day now.
This commit is contained in:
@@ -34,17 +34,17 @@ namespace OpenSim.Region.Environment.Modules.World.NPC
|
||||
{
|
||||
public class NPCModule : IRegionModule
|
||||
{
|
||||
private const bool m_enabled = false;
|
||||
// private const bool m_enabled = false;
|
||||
|
||||
public void Initialise(Scene scene, IConfigSource source)
|
||||
{
|
||||
if (m_enabled)
|
||||
{
|
||||
NPCAvatar testAvatar = new NPCAvatar("Jack", "NPC", new LLVector3(128, 128, 40), scene);
|
||||
NPCAvatar testAvatar2 = new NPCAvatar("Jill", "NPC", new LLVector3(136, 128, 40), scene);
|
||||
scene.AddNewClient(testAvatar, false);
|
||||
scene.AddNewClient(testAvatar2, false);
|
||||
}
|
||||
// if (m_enabled)
|
||||
// {
|
||||
// NPCAvatar testAvatar = new NPCAvatar("Jack", "NPC", new LLVector3(128, 128, 40), scene);
|
||||
// NPCAvatar testAvatar2 = new NPCAvatar("Jill", "NPC", new LLVector3(136, 128, 40), scene);
|
||||
// scene.AddNewClient(testAvatar, false);
|
||||
// scene.AddNewClient(testAvatar2, false);
|
||||
// }
|
||||
}
|
||||
|
||||
public void PostInitialise()
|
||||
|
||||
Reference in New Issue
Block a user