From 58ba349f19f98fe3af5332188f5d3dfe4d076807 Mon Sep 17 00:00:00 2001 From: manuel Date: Tue, 19 Apr 2011 23:03:50 +0200 Subject: nicer method of ending rounds --- pacman-c++/util.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'pacman-c++/util.cpp') diff --git a/pacman-c++/util.cpp b/pacman-c++/util.cpp index d83ea3c..f8396f9 100644 --- a/pacman-c++/util.cpp +++ b/pacman-c++/util.cpp @@ -145,7 +145,14 @@ namespace Util { Transmission::field_t &cur = map[x][y]; if (cur == Transmission::none) + { +#if 0 + /* use for endround testing */ + if (x > 0) + continue; +#endif cur = type; + } else if (cur == Transmission::point) cur = Transmission::none; } -- cgit v1.2.3