SERVER: Add missing light spawn function

This commit is contained in:
cypress 2023-10-31 13:33:43 -04:00
parent 818e413753
commit 0d9cf45426
2 changed files with 9 additions and 7 deletions

View file

@ -199,7 +199,7 @@ void(float dist, vector vec) do_walk_to_vec =
if(self.outside == false)
{
// this is a performance net negative for like 0 gain in horde space.
//push_away_zombies();
push_away_zombies();
}
ChangeYaw();
vector new_velocity;

View file

@ -87,17 +87,19 @@ void() light_environment = // Sun cast from Sky
void() light_fluorospark = // Light with buzz ambient
{ L_Setup(); }
void() light_globe = // Light with visible globe
{ L_Setup(); makestatic(self); }
{ L_Setup(); makestatic(self); }
void() light_torch_small_walltorch = // Light with visible wall torch
{ L_Setup(); makestatic(self); }
{ L_Setup(); makestatic(self); }
void() light_flame_large_yellow =
{ L_Setup(); makestatic(self); }
void() light_torch_small_yellow = // Light with small flame & fire sound
{ L_Setup(); makestatic(self); }
{ L_Setup(); makestatic(self); }
void() light_torch_large_yellow = // Light with larger flame & fire sound
{ L_Setup(); self.frame = 1; makestatic(self); }
{ L_Setup(); self.frame = 1; makestatic(self); }
void() light_flame_small_white = // Light with small flame & fire sound
{ L_Setup(); makestatic(self); }
{ L_Setup(); makestatic(self); }
void() light_spot = // Spotlight
{ L_Setup(); }
{ L_Setup(); }
//
// --------------------