mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +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);
|
||||
}
|
||||
}
|
||||
write_frame_macros (va ("%s.frame", file_basename (file)));
|
||||
if (options.frames_files) {
|
||||
write_frame_macros (va ("%s.frame", file_basename (file)));
|
||||
}
|
||||
if (!err) {
|
||||
qfo_t *qfo;
|
||||
|
||||
|
@ -750,8 +752,10 @@ progs_src_compile (void)
|
|||
} else {
|
||||
if (compile_file (qc_filename->str))
|
||||
return 1;
|
||||
write_frame_macros (va ("%s.frame",
|
||||
file_basename (qc_filename->str)));
|
||||
if (options.frames_files) {
|
||||
write_frame_macros (va ("%s.frame",
|
||||
file_basename (qc_filename->str)));
|
||||
}
|
||||
}
|
||||
if (!Script_TokenAvailable (script, 0))
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue