mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-22 20:51:31 +00:00
Fix indention after b44fd32
.
This commit is contained in:
parent
95bdec447d
commit
f7706b2c06
3 changed files with 7 additions and 4 deletions
|
@ -573,7 +573,7 @@ typedef struct
|
|||
int ofs;
|
||||
fieldtype_t type;
|
||||
int flags;
|
||||
short save_ver; // currently only used by clientfields[]
|
||||
short save_ver;
|
||||
} field_t;
|
||||
|
||||
extern field_t fields[];
|
||||
|
|
|
@ -849,6 +849,7 @@ ReadGame(const char *filename)
|
|||
if (!strcmp(str_ver, SAVEGAMEVER))
|
||||
{
|
||||
save_ver = 3;
|
||||
|
||||
if (strcmp(str_game, GAMEVERSION))
|
||||
{
|
||||
fclose(f);
|
||||
|
@ -868,6 +869,7 @@ ReadGame(const char *filename)
|
|||
else if (!strcmp(str_ver, "YQ2-2"))
|
||||
{
|
||||
save_ver = 2;
|
||||
|
||||
if (strcmp(str_game, GAMEVERSION))
|
||||
{
|
||||
fclose(f);
|
||||
|
@ -887,6 +889,7 @@ ReadGame(const char *filename)
|
|||
else if (!strcmp(str_ver, "YQ2-1"))
|
||||
{
|
||||
save_ver = 1;
|
||||
|
||||
if (strcmp(str_game, GAMEVERSION))
|
||||
{
|
||||
fclose(f);
|
||||
|
|
Loading…
Reference in a new issue