aboutsummaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2016-12-22 10:49:33 -0500
committerClyne Sullivan <tullivan99@gmail.com>2016-12-22 10:49:33 -0500
commit6dd6d03bb1af3c1c482a67355446998eccc3288c (patch)
treeb1ed2891b510611e5e89532feb0a89cb48a67c78 /main.cpp
parentae9ceadaa184f5e9775135ae264c8bbffd4efa9d (diff)
fade fix, other stuff too
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index 8579707..7fc1658 100644
--- a/main.cpp
+++ b/main.cpp
@@ -189,6 +189,7 @@ int main(int argc, char *argv[])
if (game::time::tickHasPassed()) {
// calculate the world shading value
+ extern int worldShade; // TODO kill
worldShade = 50 * sin((game::time::getTickCount() + (DAY_CYCLE / 2)) / (DAY_CYCLE / PI));
// update fades