summaryrefslogtreecommitdiffstats
path: root/src/Generating/NetherFortGen.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-04-17 17:31:29 +0200
committermadmaxoft <github@xoft.cz>2014-04-17 17:32:08 +0200
commitbe091800f8a39024935b9692a7dae5964979d997 (patch)
tree43f9e5ba65307ef695630d29e838d3f48daf00f6 /src/Generating/NetherFortGen.cpp
parentMerge pull request #896 from axisd/master (diff)
downloadcuberite-be091800f8a39024935b9692a7dae5964979d997.tar
cuberite-be091800f8a39024935b9692a7dae5964979d997.tar.gz
cuberite-be091800f8a39024935b9692a7dae5964979d997.tar.bz2
cuberite-be091800f8a39024935b9692a7dae5964979d997.tar.lz
cuberite-be091800f8a39024935b9692a7dae5964979d997.tar.xz
cuberite-be091800f8a39024935b9692a7dae5964979d997.tar.zst
cuberite-be091800f8a39024935b9692a7dae5964979d997.zip
Diffstat (limited to '')
-rw-r--r--src/Generating/NetherFortGen.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Generating/NetherFortGen.cpp b/src/Generating/NetherFortGen.cpp
index b6ec46986..7dc702e3a 100644
--- a/src/Generating/NetherFortGen.cpp
+++ b/src/Generating/NetherFortGen.cpp
@@ -258,6 +258,15 @@ cPieces cNetherFortGen::GetStartingPieces(void)
+int cNetherFortGen::GetPieceWeight(const cPlacedPiece & a_PlacedPiece, const cPiece::cConnector & a_ExistingConnector, const cPiece & a_NewPiece)
+{
+ return ((const cPrefab &)a_NewPiece).GetPieceWeight(a_PlacedPiece, a_ExistingConnector);
+}
+
+
+
+
+
void cNetherFortGen::PiecePlaced(const cPiece & a_Piece)
{
UNUSED(a_Piece);