From 6dd6d03bb1af3c1c482a67355446998eccc3288c Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Thu, 22 Dec 2016 10:49:33 -0500 Subject: fade fix, other stuff too --- main.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'main.cpp') 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 -- cgit v1.2.3