item_tfgoal: only set RenderFX when it belongs to a specific team.
This commit is contained in:
parent
5fdb709ce8
commit
2a754f971a
1 changed files with 6 additions and 1 deletions
|
@ -217,7 +217,12 @@ item_tfgoal::Respawn(void)
|
|||
m_eActivator = __NULL__;
|
||||
ReleaseThink();
|
||||
m_status = GISTATUS_HOME;
|
||||
SetRenderFX(RFX_GLOWSHELL);
|
||||
|
||||
if (m_iTeamOwner) {
|
||||
SetRenderAmt(1.0f);
|
||||
SetRenderFX(RFX_GLOWSHELL);
|
||||
} else
|
||||
return;
|
||||
|
||||
/* spawn into the world */
|
||||
switch (m_iTeamOwner) {
|
||||
|
|
Loading…
Reference in a new issue