mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 15:21:44 +00:00
Fix stupid oversight: Query the correct variable for the quicksave name.
This commit is contained in:
parent
123228961d
commit
9cc466b2c2
1 changed files with 2 additions and 2 deletions
|
@ -2289,7 +2289,7 @@ Create_Savestrings(void)
|
|||
FS_Read(tmp, sizeof(tmp), f);
|
||||
FS_FCloseFile(f);
|
||||
|
||||
if (strlen(name) > 12)
|
||||
if (strlen(tmp) > 12)
|
||||
{
|
||||
/* Horrible hack to construct a nice looking 'QUICKSAVE Level Name'
|
||||
comment string matching the 'ENTERING Level Name' comment string
|
||||
|
@ -2300,7 +2300,7 @@ Create_Savestrings(void)
|
|||
}
|
||||
else
|
||||
{
|
||||
Q_strlcpy(m_quicksavestring, name, sizeof(m_quicksavestring));
|
||||
Q_strlcpy(m_quicksavestring, tmp, sizeof(m_quicksavestring));
|
||||
}
|
||||
m_quicksavevalid = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue