mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-27 22:22:17 +00:00
qcvm won't print checksum or entity field area size without the -info option anymore
This commit is contained in:
parent
412446f42e
commit
52a1b9469c
1 changed files with 4 additions and 2 deletions
4
exec.c
4
exec.c
|
@ -885,7 +885,10 @@ int main(int argc, char **argv)
|
|||
prog->builtins_count = qc_builtins_count;
|
||||
prog->builtins_alloc = 0;
|
||||
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue