mirror of
https://github.com/nzp-team/quakec.git
synced 2025-01-18 23:31:38 +00:00
SERVER: Hide Mystery Box Glow on Move
This commit is contained in:
parent
da21c6021a
commit
adc1b21c21
1 changed files with 4 additions and 2 deletions
|
@ -1307,7 +1307,7 @@ void() findboxspot =
|
|||
// Spawn the Box Glow if permitted
|
||||
if (!(self.owner.spawnflags & 2))
|
||||
{
|
||||
local entity g;
|
||||
entity g;
|
||||
g = spawn();
|
||||
newspot.goaldummy = g;
|
||||
setmodel(g,"models/machines/mglow$.mdl");
|
||||
|
@ -1332,7 +1332,9 @@ void() findboxspot =
|
|||
|
||||
void() remove_box =
|
||||
{
|
||||
//setmodel(self.owner.goaldummy, "");
|
||||
if (!(self.owner.spawnflags & 2))
|
||||
setmodel(self.owner.goaldummy, "");
|
||||
|
||||
self.owner.frame = 0; // set box frame
|
||||
makevectors(self.angles);
|
||||
self.velocity = v_up*100;
|
||||
|
|
Loading…
Reference in a new issue