aboutsummaryrefslogtreecommitdiff
path: root/src/daynightratio.h
diff options
context:
space:
mode:
authorElias Fleckenstein <54945686+EliasFleckenstein03@users.noreply.github.com>2020-11-04 16:44:42 +0100
committerGitHub <noreply@github.com>2020-11-04 16:44:42 +0100
commit5d9ae5a91c544fc7fbd475decf47cef7e09ef8fc (patch)
treec980d614fec4a5495798be3e79e033229062c3cd /src/daynightratio.h
parent28f6a79706b088c37268a59d90878220dc4ef9c7 (diff)
parent3af10766fd2b58b068e970266724d7eb10e9316b (diff)
downloaddragonfireclient-5d9ae5a91c544fc7fbd475decf47cef7e09ef8fc.tar.xz
Merge branch 'master' into master
Diffstat (limited to 'src/daynightratio.h')
-rw-r--r--src/daynightratio.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/daynightratio.h b/src/daynightratio.h
index 538767cad..110ff855b 100644
--- a/src/daynightratio.h
+++ b/src/daynightratio.h
@@ -30,15 +30,15 @@ inline u32 time_to_daynight_ratio(float time_of_day, bool smooth)
t = 24000.0f - t;
const float values[9][2] = {
- {4250.0f + 125.0f, 175.0f},
- {4500.0f + 125.0f, 175.0f},
- {4750.0f + 125.0f, 250.0f},
- {5000.0f + 125.0f, 350.0f},
- {5250.0f + 125.0f, 500.0f},
- {5500.0f + 125.0f, 675.0f},
- {5750.0f + 125.0f, 875.0f},
- {6000.0f + 125.0f, 1000.0f},
- {6250.0f + 125.0f, 1000.0f},
+ {4250.0f + 125.0f, 175.0f},
+ {4500.0f + 125.0f, 175.0f},
+ {4750.0f + 125.0f, 250.0f},
+ {5000.0f + 125.0f, 350.0f},
+ {5250.0f + 125.0f, 500.0f},
+ {5500.0f + 125.0f, 675.0f},
+ {5750.0f + 125.0f, 875.0f},
+ {6000.0f + 125.0f, 1000.0f},
+ {6250.0f + 125.0f, 1000.0f},
};
if (!smooth) {