diff options
| author | manuel <manuel@mausz.at> | 2011-04-19 23:03:50 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2011-04-19 23:03:50 +0200 |
| commit | 58ba349f19f98fe3af5332188f5d3dfe4d076807 (patch) | |
| tree | 6425c4c8e0bc033906c944b985655625ebd9e19d /pacman-c++/util.cpp | |
| parent | 9e9bc7cd492bf6f897bc26818674a3919431fb99 (diff) | |
| download | foop-58ba349f19f98fe3af5332188f5d3dfe4d076807.tar.gz foop-58ba349f19f98fe3af5332188f5d3dfe4d076807.tar.bz2 foop-58ba349f19f98fe3af5332188f5d3dfe4d076807.zip | |
nicer method of ending rounds
Diffstat (limited to 'pacman-c++/util.cpp')
| -rw-r--r-- | pacman-c++/util.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
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 | |||
| 145 | { | 145 | { |
| 146 | Transmission::field_t &cur = map[x][y]; | 146 | Transmission::field_t &cur = map[x][y]; |
| 147 | if (cur == Transmission::none) | 147 | if (cur == Transmission::none) |
| 148 | { | ||
| 149 | #if 0 | ||
| 150 | /* use for endround testing */ | ||
| 151 | if (x > 0) | ||
| 152 | continue; | ||
| 153 | #endif | ||
| 148 | cur = type; | 154 | cur = type; |
| 155 | } | ||
| 149 | else if (cur == Transmission::point) | 156 | else if (cur == Transmission::point) |
| 150 | cur = Transmission::none; | 157 | cur = Transmission::none; |
| 151 | } | 158 | } |
