Skip to content

Commit

Permalink
Make game difficulty setting not affect skirmish games.
Browse files Browse the repository at this point in the history
Hopefully, skirmish games will be just like multiplayer now.

Changelog: Game difficulty setting no longer affects damage in single-player skirmish games.
  • Loading branch information
Cyp committed Nov 1, 2010
1 parent 22cda4f commit 4db5d00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/combat.c
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ float objDamage(BASE_OBJECT *psObj, UDWORD damage, UDWORD originalhp, UDWORD wea


// apply game difficulty setting
if(!NetPlay.bComms) // ignore multiplayer games
if (bMultiPlayer) // ignore multiplayer games
{
if (psObj->player != selectedPlayer)
{
Expand Down
2 changes: 1 addition & 1 deletion src/power.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ static int32_t updateExtractedPower(STRUCTURE *psBuilding)
{
int overflowDiff;
// Add modifier according to difficulty level
if (!NetPlay.bComms) // ignore multiplayer games
if (!bMultiPlayer) // ignore multiplayer games
{
switch (getDifficultyLevel())
{
Expand Down

0 comments on commit 4db5d00

Please sign in to comment.