(svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int
This commit is contained in:
@@ -205,7 +205,7 @@ static Subsidy *FindSubsidyCargoRoute()
|
||||
if (i == NULL) return NULL;
|
||||
|
||||
CargoID cargo;
|
||||
int trans, total;
|
||||
uint trans, total;
|
||||
|
||||
/* Randomize cargo type */
|
||||
if (i->produced_cargo[1] != CT_INVALID && HasBit(Random(), 0)) {
|
||||
|
Reference in New Issue
Block a user