Skip to content

Commit 32befb8

Browse files
authored
fix ets copy/paste error (#6619)
1 parent d9f93d1 commit 32befb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

code/hud/hudets.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1249,7 +1249,7 @@ void HudGaugeEtsShields::render(float /*frametime*/, bool config)
12491249
renderPrintf(rx, ry, scale, config, NOX("%c"), Letter);
12501250

12511251
// draw the gauge for the shield system
1252-
int level = config ? 4 : ship_p->weapon_recharge_index;
1252+
int level = config ? 4 : ship_p->shield_recharge_index;
12531253
rx = position[0];
12541254
ry = position[1];
12551255
if (config) {
@@ -1319,7 +1319,7 @@ void HudGaugeEtsEngines::render(float /*frametime*/, bool config)
13191319
renderPrintf(rx, ry, scale, config, NOX("%c"), Letter);
13201320

13211321
// draw the gauge for the engine system
1322-
int level = config ? 4 : ship_p->weapon_recharge_index;
1322+
int level = config ? 4 : ship_p->engine_recharge_index;
13231323
rx = position[0];
13241324
ry = position[1];
13251325
if (config) {

0 commit comments

Comments
 (0)