Fixed warning
This commit is contained in:
parent
33b8392297
commit
9fb7a6526c
1 changed files with 2 additions and 1 deletions
|
@ -550,8 +550,9 @@ local SCM CclIfResource(SCM player,SCM operation,SCM quantity,SCM resource)
|
|||
int j;
|
||||
int sum;
|
||||
|
||||
sum=0;
|
||||
for( ; plynr<pn; ++plynr ) {
|
||||
for( j=1,sum=0; j<MaxCosts; ++j ) {
|
||||
for( j=1; j<MaxCosts; ++j ) {
|
||||
sum += Players[plynr].Resources[j];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue