summaryrefslogtreecommitdiff
path: root/src/cgame
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgame')
-rw-r--r--src/cgame/cg_local.h3
-rw-r--r--src/cgame/cg_main.c9
2 files changed, 5 insertions, 7 deletions
diff --git a/src/cgame/cg_local.h b/src/cgame/cg_local.h
index 366758d1..4fc20bd3 100644
--- a/src/cgame/cg_local.h
+++ b/src/cgame/cg_local.h
@@ -418,7 +418,6 @@ typedef struct
typedef struct weaponInfo_s
{
qboolean registered;
- gitem_t *item;
char *humanName;
qhandle_t handsModel; // the hands don't actually draw, they just position the weapon
@@ -473,7 +472,7 @@ typedef struct
typedef struct
{
- qhandle_t models[ MAX_ITEM_MODELS ];
+ qhandle_t models[ MAX_BUILDABLE_MODELS ];
animation_t animations[ MAX_BUILDABLE_ANIMATIONS ];
//same number of sounds as animations
diff --git a/src/cgame/cg_main.c b/src/cgame/cg_main.c
index cab4cda3..22db4dba 100644
--- a/src/cgame/cg_main.c
+++ b/src/cgame/cg_main.c
@@ -1385,11 +1385,10 @@ static clientInfo_t * CG_InfoFromScoreIndex( int index, int team, int *scoreInde
static const char *CG_FeederItemText( float feederID, int index, int column, qhandle_t *handle )
{
- gitem_t *item;
- int scoreIndex = 0;
- clientInfo_t *info = NULL;
- int team = -1;
- score_t *sp = NULL;
+ int scoreIndex = 0;
+ clientInfo_t *info = NULL;
+ int team = -1;
+ score_t *sp = NULL;
*handle = -1;