mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
Fix writing of frames files when not requested
I forgot to check for the option for separate compilation.
This commit is contained in:
parent
27ae5ccfce
commit
11365024d2
1 changed files with 7 additions and 3 deletions
|
@ -391,7 +391,9 @@ compile_to_obj (const char *file, const char *obj, lang_t lang)
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (options.frames_files) {
|
||||||
write_frame_macros (va ("%s.frame", file_basename (file)));
|
write_frame_macros (va ("%s.frame", file_basename (file)));
|
||||||
|
}
|
||||||
if (!err) {
|
if (!err) {
|
||||||
qfo_t *qfo;
|
qfo_t *qfo;
|
||||||
|
|
||||||
|
@ -750,9 +752,11 @@ progs_src_compile (void)
|
||||||
} else {
|
} else {
|
||||||
if (compile_file (qc_filename->str))
|
if (compile_file (qc_filename->str))
|
||||||
return 1;
|
return 1;
|
||||||
|
if (options.frames_files) {
|
||||||
write_frame_macros (va ("%s.frame",
|
write_frame_macros (va ("%s.frame",
|
||||||
file_basename (qc_filename->str)));
|
file_basename (qc_filename->str)));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (!Script_TokenAvailable (script, 0))
|
if (!Script_TokenAvailable (script, 0))
|
||||||
break;
|
break;
|
||||||
Script_GetToken (script, 0);
|
Script_GetToken (script, 0);
|
||||||
|
|
Loading…
Reference in a new issue