mirror of
https://git.code.sf.net/p/quake/prozac-qfcc
synced 2024-11-13 00:24:33 +00:00
Make powerups glow you
This commit is contained in:
parent
0b50ac165e
commit
76eee5f704
1 changed files with 3 additions and 0 deletions
3
items.qc
3
items.qc
|
@ -1690,6 +1690,9 @@ void() powerup_touch =
|
|||
other.tfstate = other.tfstate - (other.tfstate & TFSTATE_INSPIRED);
|
||||
}
|
||||
|
||||
other.effects &= ~EF_ANYGLOW;
|
||||
other.effects |= EF_GlowColor (other);
|
||||
|
||||
activator = other;
|
||||
SUB_UseTargets(); // fire all targets / killtargets
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue