fixed time worldinfo
[carveJwlIkooP6JGAAIwe30JlM.git] / world_render.c
index 2542ce3b19b1a48e450beb78479d212fed592a99..990a1abfcc3ed6e565e322f36d67307d6b87114e 100644 (file)
@@ -852,6 +852,10 @@ static void world_prerender( world_instance *world ){
       world->time = 0.834;
    }
 
+   if( world->info.flags & 0x1 ){
+      world->time = world->info.timezone;
+   }
+
    struct ub_world_lighting *state = &world->ub_lighting;
 
    state->g_time = world->time;