Skip to content

Commit 6752476

Browse files
committed
Make power generator output not depend on the game difficulty setting. Update ChangeLog.
1 parent 209e12b commit 6752476

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

ChangeLog

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
2010-09-24: Version 2.3.6
2+
* General:
3+
* Fix: Fix zero armour in damage calculation bug (ticket:2273)
4+
* Fix: Don't crash in the unit design screen when using unicode strings (ticket:2209)
5+
* Fix: Do not activate a radar detector before it has been completely built (ticket:2202)
6+
* Multiplayer:
7+
* Fix: Make power generator output not depend on the game difficulty setting
8+
19
2010-09-24: Version 2.3.5
210
* General:
311
* Fix: Fix edit boxes so they correctly calculate the string's pixel borders. (r11668)

src/power.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,11 @@ static int32_t updateExtractedPower(STRUCTURE *psBuilding)
142142
{
143143
int overflowDiff;
144144
// Add modifier according to difficulty level
145-
if (getDifficultyLevel() == DL_EASY)
145+
if (getDifficultyLevel() == DL_EASY && !bMultiPlayer)
146146
{
147147
powmodifier = EASY_POWER_MOD/10;
148148
}
149-
else if (getDifficultyLevel() == DL_HARD)
149+
else if (getDifficultyLevel() == DL_HARD && !bMultiPlayer)
150150
{
151151
powmodifier = HARD_POWER_MOD/10;
152152
}

0 commit comments

Comments
 (0)