From d6cd85cc1a259f6bff25f4277b70a51e3ffcf53e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 8 May 2011 03:45:58 +0200 Subject: [PATCH] Autodump reports the action taken properly. --- tools/supported/autodump.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tools/supported/autodump.cpp b/tools/supported/autodump.cpp index 06b7f4a4a..05f9a5670 100644 --- a/tools/supported/autodump.cpp +++ b/tools/supported/autodump.cpp @@ -201,7 +201,14 @@ int main (int argc, char * argv[]) Maps->WriteDirtyBit(cx/16, cy/16, cz, true); } DF->Detach(); - cout << "Done. " << dumped_total << " items quickdumped." << endl; + if(!destroy) + { + cout << "Done. " << dumped_total << " items quickdumped." << endl; + } + else + { + cout << "Done. " << dumped_total << " items marked for destruction." << endl; + } #ifndef LINUX_BUILD cout << "Press any key to continue" << endl; cin.ignore();