diff options
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/g_missile.c | 2 | ||||
-rw-r--r-- | src/game/tremulous.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/game/g_missile.c b/src/game/g_missile.c index 6f8ee995..f3cc8f64 100644 --- a/src/game/g_missile.c +++ b/src/game/g_missile.c @@ -371,6 +371,8 @@ gentity_t *fire_blaster( gentity_t *self, vec3_t start, vec3_t dir ) bolt->splashMethodOfDeath = MOD_BLASTER; bolt->clipmask = MASK_SHOT; bolt->target_ent = NULL; + bolt->r.mins[ 0 ] = bolt->r.mins[ 1 ] = bolt->r.mins[ 2 ] = -BLASTER_SIZE; + bolt->r.maxs[ 0 ] = bolt->r.maxs[ 1 ] = bolt->r.maxs[ 2 ] = BLASTER_SIZE; bolt->s.pos.trType = TR_LINEAR; bolt->s.pos.trTime = level.time - MISSILE_PRESTEP_TIME; // move a bit on the very first frame diff --git a/src/game/tremulous.h b/src/game/tremulous.h index fe60e91e..3523ee94 100644 --- a/src/game/tremulous.h +++ b/src/game/tremulous.h @@ -371,6 +371,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #define BLASTER_SPREAD 200 #define BLASTER_SPEED 1400 #define BLASTER_DMG HDM(10) +#define BLASTER_SIZE 4 #define RIFLE_CLIPSIZE 30 #define RIFLE_MAXCLIPS 6 |