mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-23 04:52:07 +00:00
Warnings ruhiggestellt
This commit is contained in:
parent
21168ea8ed
commit
18fd45bb82
3 changed files with 4 additions and 4 deletions
|
@ -2146,7 +2146,7 @@ static void Create_Savestrings (void)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
FS_Read (m_savestrings[i], sizeof(m_savestrings[i]), (size_t)f);
|
FS_Read (m_savestrings[i], sizeof(m_savestrings[i]), (size_t)f);
|
||||||
FS_FCloseFile (f);
|
FS_FCloseFile ((size_t)f);
|
||||||
m_savevalid[i] = true;
|
m_savevalid[i] = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -319,7 +319,7 @@ void SV_ReadLevelFile (void)
|
||||||
}
|
}
|
||||||
FS_Read (sv.configstrings, sizeof(sv.configstrings), (size_t)f);
|
FS_Read (sv.configstrings, sizeof(sv.configstrings), (size_t)f);
|
||||||
CM_ReadPortalState (f);
|
CM_ReadPortalState (f);
|
||||||
FS_FCloseFile (f);
|
FS_FCloseFile ((size_t)f);
|
||||||
|
|
||||||
Com_sprintf (name, sizeof(name), "%s/save/current/%s.sav", FS_Gamedir(), sv.name);
|
Com_sprintf (name, sizeof(name), "%s/save/current/%s.sav", FS_Gamedir(), sv.name);
|
||||||
ge->ReadLevel (name);
|
ge->ReadLevel (name);
|
||||||
|
@ -430,7 +430,7 @@ void SV_ReadServerFile (void)
|
||||||
// these will be things like coop, skill, deathmatch, etc
|
// these will be things like coop, skill, deathmatch, etc
|
||||||
while (1)
|
while (1)
|
||||||
{
|
{
|
||||||
if (!FS_Read (name, 1, sizeof(name), f))
|
if (!FS_FRead (name, 1, sizeof(name), (size_t)f))
|
||||||
break;
|
break;
|
||||||
FS_Read (string, sizeof(string), (size_t)f);
|
FS_Read (string, sizeof(string), (size_t)f);
|
||||||
Com_DPrintf ("Set %s = %s\n", name, string);
|
Com_DPrintf ("Set %s = %s\n", name, string);
|
||||||
|
|
|
@ -177,7 +177,7 @@ void SV_SpawnServer (char *server, char *spawnpoint, server_state_t serverstate,
|
||||||
|
|
||||||
Com_DPrintf ("SpawnServer: %s\n",server);
|
Com_DPrintf ("SpawnServer: %s\n",server);
|
||||||
if (sv.demofile)
|
if (sv.demofile)
|
||||||
FS_FCloseFile (sv.demofile);
|
FS_FCloseFile ((size_t)sv.demofile);
|
||||||
|
|
||||||
svs.spawncount++; // any partially connected client will be
|
svs.spawncount++; // any partially connected client will be
|
||||||
// restarted
|
// restarted
|
||||||
|
|
Loading…
Reference in a new issue