diff options
| author | Charlie Blake | 2018-06-29 11:34:09 +0100 |
|---|---|---|
| committer | Charlie Blake | 2018-06-29 11:34:09 +0100 |
| commit | 5fde1f9563c98e2d661ac495e448d35eeb97e68c (patch) | |
| tree | da08d5ab8602567130dbd9ccaa1863d7ea4dda77 /src/main/game/move.cpp | |
| parent | Implement to pass unit tests (diff) | |
| download | metasol-5fde1f9563c98e2d661ac495e448d35eeb97e68c.tar.gz metasol-5fde1f9563c98e2d661ac495e448d35eeb97e68c.zip | |
Fix bugs + correct built pile kings. Cell + founds
Diffstat (limited to 'src/main/game/move.cpp')
| -rw-r--r-- | src/main/game/move.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/game/move.cpp b/src/main/game/move.cpp index c51a120..915bac6 100644 --- a/src/main/game/move.cpp +++ b/src/main/game/move.cpp @@ -8,7 +8,7 @@ move::move(mtype ty, pile::ref f, pile::ref t, pile::size_type i, bool reveal_mo type(ty), from(f), to(t), count(i), reveal_move(reveal_move_) { #ifndef NDEBUG if (ty == mtype::regular) assert(i == 1); - else if (ty != mtype::stock_to_waste) assert(i >= 1); + else if (ty != mtype::stock_k_plus) assert(i >= 1); #endif } |
