From: Wolfgang (Blub) Bumiller Date: Thu, 23 Aug 2012 10:42:41 +0000 (+0200) Subject: qcvm won't print checksum or entity field area size without the -info option anymore X-Git-Tag: 0.1-rc1~76 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=52a1b9469c27650307ada7f5cbf45efa9e1c54ee;p=xonotic%2Fgmqcc.git qcvm won't print checksum or entity field area size without the -info option anymore --- 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;