From fba8b3eff05094ee9f46b7ccffb67fe9d16caac4 Mon Sep 17 00:00:00 2001 From: SWonsak Date: Wed, 12 Dec 2012 15:38:13 +0000 Subject: [PATCH] Update Harvester.cpp --- Harvester.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Harvester.cpp b/Harvester.cpp index d122a4d..ebaf254 100644 --- a/Harvester.cpp +++ b/Harvester.cpp @@ -151,10 +151,12 @@ void Harvester::HarvesterCMD(Toriverse& T, char cmd){ else { if (!HStatus) { setFate("Error: Destroyed by Black Hole!"); - } + setScore(0); + } if (Energy<0) { cout << "Error: negative energy"; setStatus(0); + setScore(0); } } }