Skip to content

Commit

Permalink
Fix destroyed structure count to count destroyed non-walls instead of…
Browse files Browse the repository at this point in the history
… destroyed walls.

Introduced in f6ddbf1.

Fixes ticket:3380 and ticket:3435.
  • Loading branch information
Cyp committed May 2, 2012
1 parent 17d3ea3 commit fae22f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structure.cpp
Expand Up @@ -4775,7 +4775,7 @@ bool destroyStruct(STRUCTURE *psDel, unsigned impactTime)
}

// updates score stats only if not wall
if (bMinor)
if (!bMinor)
{
if(psDel->player == selectedPlayer)
{
Expand Down

0 comments on commit fae22f7

Please sign in to comment.