summaryrefslogtreecommitdiff
path: root/server/wall.cpp
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2010-12-05 07:53:43 +0100
committerVegard Storheil Eriksen <zyp@jvnv.net>2010-12-05 07:53:43 +0100
commit80f1bf82e311b6d1ef9f3df9162235b0ce00cdb8 (patch)
treefc60c13430ed80631c5b55795a7e4e33b3e91c7e /server/wall.cpp
parent4e5c27a098b01457a8582505d6a46338a0165b44 (diff)
Use Set to store open sets on server. Send actions to extend open kans.
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);