From ee9f64427c608ed3283caea97b46b6f2a83e6c61 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Thu, 26 Mar 2015 22:01:57 -0500 Subject: [PATCH] Add wad name to mapchecksum output --- src/compatibility.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/compatibility.cpp b/src/compatibility.cpp index da4ab4945..fd309ec8b 100644 --- a/src/compatibility.cpp +++ b/src/compatibility.cpp @@ -595,12 +595,13 @@ CCMD (mapchecksum) else { map->GetChecksum(cksum); + const char *wadname = Wads.GetWadName(Wads.GetLumpFile(map->lumpnum)); delete map; for (size_t j = 0; j < sizeof(cksum); ++j) { Printf("%02X", cksum[j]); } - Printf(" // %s\n", argv[i]); + Printf(" // %s %s\n", wadname, argv[i]); } } }