From 7a166b89f7073b7274ac4372aa7beb2c9d8ff1cd Mon Sep 17 00:00:00 2001 From: Spoike Date: Wed, 11 Nov 2009 20:06:34 +0000 Subject: [PATCH] Fixed double weapon bug. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3434 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- quakec/fallout2/csqc/constants.qc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/quakec/fallout2/csqc/constants.qc b/quakec/fallout2/csqc/constants.qc index e7d38ccb8..e30f218cb 100644 --- a/quakec/fallout2/csqc/constants.qc +++ b/quakec/fallout2/csqc/constants.qc @@ -1,4 +1,4 @@ -//FIXME: most of this should be in common/constants.qc +//FIXME: some of this should be in common/constants.qc // // constants @@ -38,9 +38,10 @@ float EF_DIMLIGHT = 8; -float MASK_ENGINE = 1; //this is special. Any entities known by the engine but not the csqc will be added. +float MASK_ENGINE = 1; //this is special. Any entities known by the engine but not the csqc will be added (does not include viewmodels). +float MASK_VIEWMODELS = 2; //this is also special. It will cause all engine viewmodels to be added (including viewmodelforclient). //you can add any other masks below, remember, use bits. -float MASK_NORMAL = 2; +float MASK_NORMAL = 4; //normal, as in normal view ents that the csqc provides