summaryrefslogtreecommitdiff
path: root/indra/newview/llenvironment.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2024-09-30 16:43:14 +0300
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2024-09-30 18:27:16 +0300
commitc89bfa2ee2d1817af76f586a713d14b4f0e15344 (patch)
tree93c573ff08d0b76810fe9f463f45dca96679cd23 /indra/newview/llenvironment.cpp
parent64c055f9be03861661f8c211ae36ba0db489b12d (diff)
Revert "viewer#2363 Region Day Offset error with Time of Day"
Diffstat (limited to 'indra/newview/llenvironment.cpp')
-rw-r--r--indra/newview/llenvironment.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/indra/newview/llenvironment.cpp b/indra/newview/llenvironment.cpp
index 722c565300..05bd704556 100644
--- a/indra/newview/llenvironment.cpp
+++ b/indra/newview/llenvironment.cpp
@@ -2087,7 +2087,6 @@ void LLEnvironment::coroUpdateEnvironment(S32 parcel_id, S32 track_no, UpdateInf
body[KEY_ENVIRONMENT][KEY_DAYLENGTH] = updates->mDayLength;
}
- // server only allows positive values
if (updates->mDayOffset > 0)
{
body[KEY_ENVIRONMENT][KEY_DAYOFFSET] = updates->mDayOffset;