From 52a1b9469c27650307ada7f5cbf45efa9e1c54ee Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Thu, 23 Aug 2012 12:42:41 +0200 Subject: [PATCH] qcvm won't print checksum or entity field area size without the -info option anymore --- exec.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/exec.c b/exec.c index e30e2fa..666468a 100644 --- a/exec.c +++ b/exec.c @@ -885,7 +885,10 @@ int main(int argc, char **argv) prog->builtins_count = qc_builtins_count; prog->builtins_alloc = 0; - printf("Program's system-checksum = 0x%04x\n", (int)prog->crc16); + if (opts_info) { + printf("Program's system-checksum = 0x%04x\n", (int)prog->crc16); + printf("Entity field space: %i\n", (int)prog->entityfields); + } for (i = 1; i < prog->functions_count; ++i) { const char *name = prog_getstring(prog, prog->functions[i].name); @@ -893,7 +896,6 @@ int main(int argc, char **argv) if (!strcmp(name, "main")) fnmain = (qcint)i; } - printf("Entity field space: %i\n", (int)prog->entityfields); if (opts_info) { prog_delete(prog); return 0;