little style touchup
This commit is contained in:
parent
316ef9f3bb
commit
a5a96f96ad
@ -431,12 +431,14 @@ int main (int argc, char* argv[]) {
|
|||||||
free(buf);
|
free(buf);
|
||||||
|
|
||||||
if (ptr->game->basic[TAG_private_suffix] == NULL) {
|
if (ptr->game->basic[TAG_private_suffix] == NULL) {
|
||||||
if (i == 0)
|
if (i == 0) {
|
||||||
fprintf(games_c_file, "static struct quake_private %s;\n", ptr->game->basic[TAG_pd]);
|
fprintf(games_c_file, "static struct quake_private %s;\n", ptr->game->basic[TAG_pd]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (i == 1)
|
if (i == 1) {
|
||||||
fprintf(games_c_file, "static struct unreal_private %s = { NULL, \"%s\" };\n", ptr->game->basic[TAG_pd], ptr->game->basic[TAG_private_suffix]);
|
fprintf(games_c_file, "static struct unreal_private %s = { NULL, \"%s\" };\n", ptr->game->basic[TAG_pd], ptr->game->basic[TAG_private_suffix]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user