i_t_g: Hide the brush model upon spawning.
This commit is contained in:
parent
c9869626cc
commit
c12743cfc9
1 changed files with 4 additions and 3 deletions
|
@ -261,10 +261,10 @@ info_tfgoal::Touch(entity eToucher)
|
||||||
void
|
void
|
||||||
info_tfgoal::Respawn(void)
|
info_tfgoal::Respawn(void)
|
||||||
{
|
{
|
||||||
solid = SOLID_TRIGGER;
|
SetSolid(SOLID_TRIGGER);
|
||||||
movetype = MOVETYPE_NONE;
|
SetMovetype(MOVETYPE_NONE);
|
||||||
SetModel(GetSpawnModel());
|
SetModel(GetSpawnModel());
|
||||||
setsize(this, VEC_HULL_MIN, VEC_HULL_MAX);
|
SetSize(VEC_HULL_MIN, VEC_HULL_MAX);
|
||||||
SetOrigin(GetSpawnOrigin());
|
SetOrigin(GetSpawnOrigin());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -419,6 +419,7 @@ i_t_g::Respawn(void)
|
||||||
SetMovetype(MOVETYPE_NONE);
|
SetMovetype(MOVETYPE_NONE);
|
||||||
SetModel(GetSpawnModel());
|
SetModel(GetSpawnModel());
|
||||||
SetOrigin(GetSpawnOrigin());
|
SetOrigin(GetSpawnOrigin());
|
||||||
|
Hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in a new issue