projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix null reference
[carveJwlIkooP6JGAAIwe30JlM.git]
/
world_load.c
diff --git
a/world_load.c
b/world_load.c
index f196c269450959f960a07a0841ead06193925a40..3dce0288024f76612b89a65502d1d5b60ceef2b2 100644
(file)
--- a/
world_load.c
+++ b/
world_load.c
@@
-90,6
+90,7
@@
static void world_instance_load_mdl( u32 instance_id, const char *path ){
world->info.pstr_desc = 0;
world->info.pstr_name = 0;
world->info.timezone = 0.0f;
+ world->info.flags = 0;
}
time_t seconds = time(NULL) % ((u32)vg_maxf(1.0f,k_day_length)*60);