Skip to content

Commit

Permalink
Merged revision r6291 into the 2.1 branch via svnmerge from trunk
Browse files Browse the repository at this point in the history
........
  r6291 | muggenhor | 2008-11-14 15:34:57 +0100 (vr, 14 nov 2008) | 1 line
  
  Fix an out-of-bounds error resulting from using the wrong constant
........

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/branches/2.1@6311 4a71c877-e1ca-e34f-864e-861f7616d084
  • Loading branch information
Giel van Schijndel committed Nov 15, 2008
1 parent 08c0189 commit ae10d01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scriptfuncs.c
Expand Up @@ -6994,7 +6994,7 @@ BOOL scrNumDroidsByComponent(void)
}
break;
case ST_BRAIN:
if (psDroid->asBits[ST_BRAIN].nStat == comp)
if (psDroid->asBits[COMP_BRAIN].nStat == comp)
{
numFound++;
}
Expand Down

0 comments on commit ae10d01

Please sign in to comment.