Fix the rest of the enum (left over from last patch).
A const TERRAIN is preferable to an enum here, since the type will then be correct.
This commit is contained in:
parent
e2feadfc86
commit
bfd1745aa4
1 changed files with 5 additions and 1 deletions
|
@ -37,7 +37,11 @@ public:
|
|||
//be corresponding entries for these types of terrain in the terrain
|
||||
//configuration file.
|
||||
static const TERRAIN VOID_TERRAIN = ' ';
|
||||
enum { FOGGED = '~', KEEP = 'K', CASTLE = 'C', VILLAGE = 't', FOREST = 'f' };
|
||||
static const TERRAIN FOGGED = '~';
|
||||
static const TERRAIN KEEP = 'K';
|
||||
static const TERRAIN CASTLE = 'C';
|
||||
static const TERRAIN VILLAGE = 't';
|
||||
static const TERRAIN FOREST = 'f';
|
||||
|
||||
//the name of the terrain is the terrain itself, the underlying terrain
|
||||
//is the name of the terrain for game-logic purposes. I.e. if the terrain
|
||||
|
|
Loading…
Add table
Reference in a new issue