summaryrefslogtreecommitdiff
path: root/server/wall.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'server/wall.cpp')
-rw-r--r--server/wall.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/wall.cpp b/server/wall.cpp
index 1c9ec04..714e519 100644
--- a/server/wall.cpp
+++ b/server/wall.cpp
@@ -27,6 +27,8 @@ int Wall::remaining() {
}
Tile Wall::take_one() {
+ return wall.front();
+
boost::uniform_int<> range(0, wall.size() - 1);
boost::variate_generator<boost::mt19937&, boost::uniform_int<> > die(rand_gen, range);