diff options
author | Christopher Schwarz <lakitu7@gmail.com> | 2011-02-14 19:14:06 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:18:00 +0000 |
commit | 9c5b613ed3fb5002db039ec1a9b0067311e20ce1 (patch) | |
tree | 7187c34206be9d91f2f165af3086e62428e6a64f /src/cgame/cg_draw.c | |
parent | 0ca5d9e96290ce89e3f07cc65252ef60d90d68fb (diff) |
* Small enhancements to tutorial text, including telling players to sell their old weapon first at the armoury
Diffstat (limited to 'src/cgame/cg_draw.c')
-rw-r--r-- | src/cgame/cg_draw.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cgame/cg_draw.c b/src/cgame/cg_draw.c index d4d7d55a..da92e8ab 100644 --- a/src/cgame/cg_draw.c +++ b/src/cgame/cg_draw.c @@ -716,17 +716,17 @@ static void CG_DrawUsableBuildable( rectDef_t *rect, qhandle_t shader, vec4_t co ( !BG_Weapon( cg.snap->ps.weapon )->usesEnergy || BG_Weapon( cg.snap->ps.weapon )->infiniteAmmo ) ) { - cg.nearUsableBuildable = qfalse; + cg.nearUsableBuildable = BA_NONE; return; } trap_R_SetColor( color ); CG_DrawPic( rect->x, rect->y, rect->w, rect->h, shader ); trap_R_SetColor( NULL ); - cg.nearUsableBuildable = qtrue; + cg.nearUsableBuildable = es->modelindex; } else - cg.nearUsableBuildable = qfalse; + cg.nearUsableBuildable = BA_NONE; } |