diff options
| author | Jonas Ask | 2009-10-29 01:06:45 +0000 |
|---|---|---|
| committer | Jonas Ask | 2009-10-29 01:06:45 +0000 |
| commit | 5cfb571042e9aa52f91d3144fa2ba90714fe04c6 (patch) | |
| tree | b35102f64bd8fea85460a014e7a12497f737816c /Constructions.cpp | |
| parent | 763b76eed66e55e144c2ce178a18b93594805c99 (diff) | |
| download | stonesense-5cfb571042e9aa52f91d3144fa2ba90714fe04c6.tar.gz stonesense-5cfb571042e9aa52f91d3144fa2ba90714fe04c6.tar.bz2 stonesense-5cfb571042e9aa52f91d3144fa2ba90714fe04c6.tar.xz | |
Minor fixes and tweaks, some code 'cleaning'
Diffstat (limited to 'Constructions.cpp')
| -rw-r--r-- | Constructions.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Constructions.cpp b/Constructions.cpp index 5738c14..8f76c95 100644 --- a/Constructions.cpp +++ b/Constructions.cpp @@ -53,8 +53,9 @@ void changeConstructionMaterials(WorldSegment* segment, Block* b, vector<t_const case Mat_Stone:
//stones are the default constructed object, so dont change them
break;
- case 2://something wrong with the definition here, Mat_Metal = 3, not 2
+ case Mat_Metal:
b->wallType = ID_METALWALL;
+ break;
}
}
if(b->stairType > 0){
|
