summaryrefslogtreecommitdiff
path: root/Constructions.h
diff options
context:
space:
mode:
authorJonas Ask2009-11-20 01:52:29 +0000
committerJonas Ask2009-11-20 01:52:29 +0000
commit8f7a0fe698253075f9044d145d25c3ea5b82cf87 (patch)
tree58ca0cd1f2c7702460696226fe899fb844a2be84 /Constructions.h
parent4dcc68877180fdbe31a96a7b1e8f709ff9ac4d29 (diff)
downloadstonesense-8f7a0fe698253075f9044d145d25c3ea5b82cf87.tar.gz
stonesense-8f7a0fe698253075f9044d145d25c3ea5b82cf87.tar.bz2
stonesense-8f7a0fe698253075f9044d145d25c3ea5b82cf87.tar.xz
Moved the changeConstructionMaterials function, reducing it's runtime to O(n). very niiiice.
Slight improvements to UserInput.cpp.
Diffstat (limited to 'Constructions.h')
-rw-r--r--Constructions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Constructions.h b/Constructions.h
index c39a03e..b4769aa 100644
--- a/Constructions.h
+++ b/Constructions.h
@@ -3,4 +3,4 @@
bool IDisConstruction(int in);
-void changeConstructionMaterials(WorldSegment* segment, Block* b, vector<t_construction>* allConstructions); \ No newline at end of file
+void changeConstructionMaterials(WorldSegment* segment, vector<t_construction>* allConstructions); \ No newline at end of file