(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:
@@ -15,10 +15,8 @@
|
||||
#include "saveload.h"
|
||||
#include "../tile_type.h"
|
||||
|
||||
enum {
|
||||
BUFFER_SIZE = 4096,
|
||||
OLD_MAP_SIZE = 256 * 256,
|
||||
};
|
||||
static const uint BUFFER_SIZE = 4096;
|
||||
static const uint OLD_MAP_SIZE = 256 * 256;
|
||||
|
||||
struct LoadgameState {
|
||||
FILE *file;
|
||||
|
Reference in New Issue
Block a user