Fixing regression from rev1038 which broke showing laser level or quadness in cockpit and statusbar
This commit is contained in:
parent
e1572135a2
commit
8a3aeb01e8
|
@ -3,6 +3,7 @@ D1X-Rebirth Changelog
|
|||
20100617
|
||||
--------
|
||||
main/weapons.c: If picking up one missile out of a four-pack, use singular description instead of plural
|
||||
main/gauges.c: Fixing regression from rev1038 which broke showing laser level or quadness in cockpit and statusbar
|
||||
|
||||
20100615
|
||||
--------
|
||||
|
|
|
@ -1706,7 +1706,7 @@ void draw_weapon_info_sub(int info_index,gauge_box *box,int pic_x,int pic_y,char
|
|||
gr_printf(text_x,text_y,name);
|
||||
|
||||
// For laser, show level and quadness
|
||||
if (info_index == LASER_ID)
|
||||
if (info_index == LASER_INDEX)
|
||||
{
|
||||
gr_printf(text_x,text_y+LINE_SPACING, "%s: %i", TXT_LVL, Players[Player_num].laser_level+1);
|
||||
if (Players[Player_num].flags & PLAYER_FLAGS_QUAD_LASERS)
|
||||
|
|
Loading…
Reference in a new issue