X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=mvm_cmds.c;h=c92d5c2769d6b3f2e9b43e13f5bf82818ea1d7b8;hp=80d238c0720c527c427af2e7c1034bb359d0bb5b;hb=9d26d7c94f91f2175c916b5a961b0479ea5f68a6;hpb=283d91a188ca178e21e29762a3380529af99a6bf;ds=sidebyside diff --git a/mvm_cmds.c b/mvm_cmds.c index 80d238c0..c92d5c27 100644 --- a/mvm_cmds.c +++ b/mvm_cmds.c @@ -1432,6 +1432,8 @@ void VM_M_Cmd_Init(void) scene->maxentities = MAX_EDICTS + 256 + 512; scene->entities = (entity_render_t **)Mem_Alloc(prog->progs_mempool, sizeof(entity_render_t *) * scene->maxentities); + + scene->ambient = 32.0f; } void VM_M_Cmd_Reset(void)