From fefeafe35f8dac30f4baab9e3bff8e2ffbd1afd0 Mon Sep 17 00:00:00 2001 From: zecke Date: Fri, 15 Oct 2004 01:48:45 +0000 Subject: Fix #1450 to clear the 'bonus' for removing every stone in the game --- (limited to 'noncore/games/zsame/StoneField.cpp') diff --git a/noncore/games/zsame/StoneField.cpp b/noncore/games/zsame/StoneField.cpp index 49d8eca..56e9dc5 100644 --- a/noncore/games/zsame/StoneField.cpp +++ b/noncore/games/zsame/StoneField.cpp @@ -352,6 +352,10 @@ bool StoneField::gotBonus() const { return m_gotBonus; } +void StoneField::clearBonus() { + m_gotBonus = false; +} + int StoneField::getBoard() const { return board; -- cgit v0.9.0.2