aboutsummaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
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