(svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int

This commit is contained in:
rubidium
2010-05-13 10:14:29 +00:00
parent a2d6961ab3
commit 062dd0e24c
30 changed files with 82 additions and 125 deletions

View File

@@ -62,7 +62,7 @@ CurrencySpec _currency_specs[NUM_CURRENCY];
* Every currency used by Ottd is there, just in case TTDPatch will
* add those missing in its code
**/
enum {
enum Currencies {
CURR_GBP,
CURR_USD,
CURR_EUR,