Skip to content

Commit 419f615

Browse files
committed
Merge pull request OpenXcom#903 from GixG/patch-1
Fix for Bug report#778
2 parents d736c37 + 02be81b commit 419f615

1 file changed

Lines changed: 18 additions & 18 deletions

File tree

src/Battlescape/UnitInfoState.cpp

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -70,92 +70,92 @@ UnitInfoState::UnitInfoState(BattleUnit *unit, BattlescapeState *parent, bool fr
7070

7171
_txtTimeUnits = new Text(140, 9, 8, yPos);
7272
_numTimeUnits = new Text(18, 9, 150, yPos);
73-
_barTimeUnits = new Bar(170, 5, 170, yPos + 1);
73+
_barTimeUnits = new Bar(150, 5, 170, yPos + 1);
7474
yPos += step;
7575

7676
_txtEnergy = new Text(140, 9, 8, yPos);
7777
_numEnergy = new Text(18, 9, 150, yPos);
78-
_barEnergy = new Bar(170, 5, 170, yPos + 1);
78+
_barEnergy = new Bar(150, 5, 170, yPos + 1);
7979
yPos += step;
8080

8181
_txtHealth = new Text(140, 9, 8, yPos);
8282
_numHealth = new Text(18, 9, 150, yPos);
83-
_barHealth = new Bar(170, 5, 170, yPos + 1);
83+
_barHealth = new Bar(150, 5, 170, yPos + 1);
8484
yPos += step;
8585

8686
_txtFatalWounds = new Text(140, 9, 8, yPos);
8787
_numFatalWounds = new Text(18, 9, 150, yPos);
88-
_barFatalWounds = new Bar(170, 5, 170, yPos + 1);
88+
_barFatalWounds = new Bar(150, 5, 170, yPos + 1);
8989
yPos += step;
9090

9191
_txtBravery = new Text(140, 9, 8, yPos);
9292
_numBravery = new Text(18, 9, 150, yPos);
93-
_barBravery = new Bar(170, 5, 170, yPos + 1);
93+
_barBravery = new Bar(150, 5, 170, yPos + 1);
9494
yPos += step;
9595

9696
_txtMorale = new Text(140, 9, 8, yPos);
9797
_numMorale = new Text(18, 9, 150, yPos);
98-
_barMorale = new Bar(170, 5, 170, yPos + 1);
98+
_barMorale = new Bar(150, 5, 170, yPos + 1);
9999
yPos += step;
100100

101101
_txtReactions = new Text(140, 9, 8, yPos);
102102
_numReactions = new Text(18, 9, 150, yPos);
103-
_barReactions = new Bar(170, 5, 170, yPos + 1);
103+
_barReactions = new Bar(150, 5, 170, yPos + 1);
104104
yPos += step;
105105

106106
_txtFiring = new Text(140, 9, 8, yPos);
107107
_numFiring = new Text(18, 9, 150, yPos);
108-
_barFiring = new Bar(170, 5, 170, yPos + 1);
108+
_barFiring = new Bar(150, 5, 170, yPos + 1);
109109
yPos += step;
110110

111111
_txtThrowing = new Text(140, 9, 8, yPos);
112112
_numThrowing = new Text(18, 9, 150, yPos);
113-
_barThrowing = new Bar(170, 5, 170, yPos + 1);
113+
_barThrowing = new Bar(150, 5, 170, yPos + 1);
114114
yPos += step;
115115

116116
_txtMelee = new Text(140, 9, 8, yPos);
117117
_numMelee = new Text(18, 9, 150, yPos);
118-
_barMelee = new Bar(170, 5, 170, yPos + 1);
118+
_barMelee = new Bar(150, 5, 170, yPos + 1);
119119
yPos += step;
120120

121121
_txtStrength = new Text(140, 9, 8, yPos);
122122
_numStrength = new Text(18, 9, 150, yPos);
123-
_barStrength = new Bar(170, 5, 170, yPos + 1);
123+
_barStrength = new Bar(150, 5, 170, yPos + 1);
124124
yPos += step;
125125

126126
_txtPsiStrength = new Text(140, 9, 8, yPos);
127127
_numPsiStrength = new Text(18, 9, 150, yPos);
128-
_barPsiStrength = new Bar(170, 5, 170, yPos + 1);
128+
_barPsiStrength = new Bar(150, 5, 170, yPos + 1);
129129
yPos += step;
130130

131131
_txtPsiSkill = new Text(140, 9, 8, yPos);
132132
_numPsiSkill = new Text(18, 9, 150, yPos);
133-
_barPsiSkill = new Bar(170, 5, 170, yPos + 1);
133+
_barPsiSkill = new Bar(150, 5, 170, yPos + 1);
134134
yPos += step;
135135

136136
_txtFrontArmor = new Text(140, 9, 8, yPos);
137137
_numFrontArmor= new Text(18, 9, 150, yPos);
138-
_barFrontArmor = new Bar(170, 5, 170, yPos + 1);
138+
_barFrontArmor = new Bar(150, 5, 170, yPos + 1);
139139
yPos += step;
140140

141141
_txtLeftArmor = new Text(140, 9, 8, yPos);
142142
_numLeftArmor = new Text(18, 9, 150, yPos);
143-
_barLeftArmor = new Bar(170, 5, 170, yPos + 1);
143+
_barLeftArmor = new Bar(150, 5, 170, yPos + 1);
144144
yPos += step;
145145

146146
_txtRightArmor = new Text(140, 9, 8, yPos);
147147
_numRightArmor = new Text(18, 9, 150, yPos);
148-
_barRightArmor = new Bar(170, 5, 170, yPos + 1);
148+
_barRightArmor = new Bar(150, 5, 170, yPos + 1);
149149
yPos += step;
150150

151151
_txtRearArmor = new Text(140, 9, 8, yPos);
152152
_numRearArmor = new Text(18, 9, 150, yPos);
153-
_barRearArmor = new Bar(170, 5, 170, yPos + 1);
153+
_barRearArmor = new Bar(150, 5, 170, yPos + 1);
154154
yPos += step;
155155

156156
_txtUnderArmor = new Text(140, 9, 8, yPos);
157157
_numUnderArmor = new Text(18, 9, 150, yPos);
158-
_barUnderArmor = new Bar(170, 5, 170, yPos + 1);
158+
_barUnderArmor = new Bar(150, 5, 170, yPos + 1);
159159

160160
if (!_mindProbe)
161161
{

0 commit comments

Comments
 (0)