diff options
author | Teravus Ovares | 2008-09-26 17:25:22 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-09-26 17:25:22 +0000 |
commit | 16b6738cdadc70966a93b6d025ae469738955dcb (patch) | |
tree | 7a3c0075e9ee5fd04d972bc52be38aec4d51f648 /OpenSim/Framework/EstateSettings.cs | |
parent | DNE code cleanups (diff) | |
download | opensim-SC_OLD-16b6738cdadc70966a93b6d025ae469738955dcb.zip opensim-SC_OLD-16b6738cdadc70966a93b6d025ae469738955dcb.tar.gz opensim-SC_OLD-16b6738cdadc70966a93b6d025ae469738955dcb.tar.bz2 opensim-SC_OLD-16b6738cdadc70966a93b6d025ae469738955dcb.tar.xz |
* Patch from JHurliman
* Updates to libomv r2243,
* Remove lots of unnecessary typecasts
* Improves SendWindData()
Thanks jhurliman.
* Will update OpenSim-libs in 10 minutes..
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/EstateSettings.cs | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/OpenSim/Framework/EstateSettings.cs b/OpenSim/Framework/EstateSettings.cs index 8921c6d..8cd876a 100644 --- a/OpenSim/Framework/EstateSettings.cs +++ b/OpenSim/Framework/EstateSettings.cs | |||
@@ -434,28 +434,28 @@ namespace OpenSim.Framework | |||
434 | switch (configuration_key) | 434 | switch (configuration_key) |
435 | { | 435 | { |
436 | case "region_flags": | 436 | case "region_flags": |
437 | Simulator.RegionFlags flags = (Simulator.RegionFlags)(uint)configuration_result; | 437 | RegionFlags flags = (RegionFlags)(uint)configuration_result; |
438 | if ((flags & (Simulator.RegionFlags)(1<<29)) != 0) | 438 | if ((flags & (RegionFlags)(1<<29)) != 0) |
439 | m_AllowVoice = true; | 439 | m_AllowVoice = true; |
440 | if ((flags & Simulator.RegionFlags.AllowDirectTeleport) != 0) | 440 | if ((flags & RegionFlags.AllowDirectTeleport) != 0) |
441 | m_AllowDirectTeleport = true; | 441 | m_AllowDirectTeleport = true; |
442 | if ((flags & Simulator.RegionFlags.DenyAnonymous) != 0) | 442 | if ((flags & RegionFlags.DenyAnonymous) != 0) |
443 | m_DenyAnonymous = true; | 443 | m_DenyAnonymous = true; |
444 | if ((flags & Simulator.RegionFlags.DenyIdentified) != 0) | 444 | if ((flags & RegionFlags.DenyIdentified) != 0) |
445 | m_DenyIdentified = true; | 445 | m_DenyIdentified = true; |
446 | if ((flags & Simulator.RegionFlags.DenyTransacted) != 0) | 446 | if ((flags & RegionFlags.DenyTransacted) != 0) |
447 | m_DenyTransacted = true; | 447 | m_DenyTransacted = true; |
448 | if ((flags & Simulator.RegionFlags.AbuseEmailToEstateOwner) != 0) | 448 | if ((flags & RegionFlags.AbuseEmailToEstateOwner) != 0) |
449 | m_AbuseEmailToEstateOwner = true; | 449 | m_AbuseEmailToEstateOwner = true; |
450 | if ((flags & Simulator.RegionFlags.BlockDwell) != 0) | 450 | if ((flags & RegionFlags.BlockDwell) != 0) |
451 | m_BlockDwell = true; | 451 | m_BlockDwell = true; |
452 | if ((flags & Simulator.RegionFlags.EstateSkipScripts) != 0) | 452 | if ((flags & RegionFlags.EstateSkipScripts) != 0) |
453 | m_EstateSkipScripts = true; | 453 | m_EstateSkipScripts = true; |
454 | if ((flags & Simulator.RegionFlags.ResetHomeOnTeleport) != 0) | 454 | if ((flags & RegionFlags.ResetHomeOnTeleport) != 0) |
455 | m_ResetHomeOnTeleport = true; | 455 | m_ResetHomeOnTeleport = true; |
456 | if ((flags & Simulator.RegionFlags.TaxFree) != 0) | 456 | if ((flags & RegionFlags.TaxFree) != 0) |
457 | m_TaxFree = true; | 457 | m_TaxFree = true; |
458 | if ((flags & Simulator.RegionFlags.PublicAllowed) != 0) | 458 | if ((flags & RegionFlags.PublicAllowed) != 0) |
459 | m_PublicAccess = true; | 459 | m_PublicAccess = true; |
460 | break; | 460 | break; |
461 | case "billable_factor": | 461 | case "billable_factor": |