diff options
Diffstat (limited to 'src/main/game/pile.cpp')
| -rw-r--r-- | src/main/game/pile.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/game/pile.cpp b/src/main/game/pile.cpp index 264bb49..82ae344 100644 --- a/src/main/game/pile.cpp +++ b/src/main/game/pile.cpp @@ -38,6 +38,7 @@ void pile::place(const card c) { } card pile::take() { + assert(!empty()); card c = top_card(); pile_vec.pop_back(); return c; |
