mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2025-02-18 18:11:22 +00:00
Elder:
Item strobe effect (pre-0-18-00 VMs) Client-side
This commit is contained in:
parent
fc52427dc8
commit
b3ac854a9b
1 changed files with 9 additions and 0 deletions
|
@ -447,6 +447,15 @@ static void CG_Item( centity_t *cent ) {
|
|||
// add to refresh list
|
||||
trap_R_AddRefEntityToScene(&ent);
|
||||
|
||||
// add strobe effect -- should make this toggle?
|
||||
if ( ( item->giType == IT_WEAPON ) ||
|
||||
( item->giType == IT_ARMOR ) ||
|
||||
( item->giType == IT_AMMO) ||
|
||||
( item->giType == IT_HOLDABLE) ) {
|
||||
ent.customShader = cgs.media.itemStrobeShader;
|
||||
trap_R_AddRefEntityToScene(&ent);
|
||||
}
|
||||
|
||||
#ifdef MISSIONPACK
|
||||
if ( item->giType == IT_WEAPON && wi->barrelModel ) {
|
||||
refEntity_t barrel;
|
||||
|
|
Loading…
Reference in a new issue