projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed time worldinfo
[carveJwlIkooP6JGAAIwe30JlM.git]
/
world_render.c
diff --git
a/world_render.c
b/world_render.c
index 2542ce3b19b1a48e450beb78479d212fed592a99..990a1abfcc3ed6e565e322f36d67307d6b87114e 100644
(file)
--- a/
world_render.c
+++ b/
world_render.c
@@
-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;