Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
magnet.qc File Reference
#include "magnet.qh"
Include dependency graph for magnet.qc:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool buff_Magnet_cond (entity e)

Function Documentation

◆ buff_Magnet_cond()

bool buff_Magnet_cond ( entity e)

Definition at line 4 of file magnet.qc.

5{
6 return (e.itemdef // this (intentionally) doesn't include buffs -- they use .buffdef not .itemdef
7 && gettouch(e));
8}
#define gettouch(e)
Definition self.qh:78

References entity(), and gettouch.