summaryrefslogtreecommitdiff
path: root/Constructions.cpp
diff options
context:
space:
mode:
authorJapa2010-06-13 06:31:21 +0000
committerJapa2010-06-13 06:31:21 +0000
commit3feac6ad43dfba3468c526bb815e3ca69b9af01d (patch)
tree5b7da12179d7972e0f60612d09c89f8eff7bcfdd /Constructions.cpp
parent8f77411473f3dcde98cdf9ebd0d6d02358545be5 (diff)
downloadstonesense-3feac6ad43dfba3468c526bb815e3ca69b9af01d.tar.gz
stonesense-3feac6ad43dfba3468c526bb815e3ca69b9af01d.tar.bz2
stonesense-3feac6ad43dfba3468c526bb815e3ca69b9af01d.tar.xz
Fixed arena mode for real this time.
Diffstat (limited to 'Constructions.cpp')
-rw-r--r--Constructions.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/Constructions.cpp b/Constructions.cpp
index ec879b2..96e3ca6 100644
--- a/Constructions.cpp
+++ b/Constructions.cpp
@@ -15,10 +15,11 @@ void changeConstructionMaterials(WorldSegment* segment, vector<t_construction>*
b = segment->getBlock(construct->x, construct->y, construct->z);
if( !b ) continue;
//don't assign invalid material indexes
- if(construct->mat_idx != -1){
- b->material.type = construct->mat_type;
- b->material.index = construct->mat_idx;
- }
+ //if(construct->mat_idx != -1){
+ //on second thought, invalid indices are needed.
+ b->material.type = construct->mat_type;
+ b->material.index = construct->mat_idx;
+ //}
b->consForm = construct->form;
}
}