Skip to content

Commit

Permalink
Fix a rare bug where item icons were not "nomip"
Browse files Browse the repository at this point in the history
Example: ./jk2mvmp +set r_picmip 3 +set g_gametype 0 +map ctf_imperial
In game: /g_gametype 7; map_restart
Grab enemy flag and notice flag icons on HUD being picmiped
  • Loading branch information
aufau committed Dec 8, 2017
1 parent d9bd7ae commit d703f24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/cgame/cg_weapons.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Ghoul2 Insert End
*/
if (item->icon)
{
itemInfo->icon = trap_R_RegisterShader( item->icon );
itemInfo->icon = trap_R_RegisterShaderNoMip( item->icon );
}
else
{
Expand Down

0 comments on commit d703f24

Please sign in to comment.